locales in NFSROOT
Christian Meyer
c2h5oh at web.de
Sun May 10 00:32:19 CEST 2015
Am Freitag, den 08.05.2015, 15:29 +0200 schrieb Moritz Struebe:
> Am 08.05.2015 um 15:26 schrieb Christian Meyer:
> > echo "set locales/locales_to_be_generated de_DE.UTF-8 UTF-8" | chroot
> > $NFSROOT debconf-communicate
> why arn't you using $ROOTCMD?
Than you for your answer.
As far as I can see it's the same, but I will try $ROOTCMD soon.
I took the line from argonaut-setup found here:
https://forge.fusiondirectory.org/projects/argonaut-agents/repository/revisions/3a5ee311d1e7bc78bfc70590d9a19d44ad5acf06/entry/argonaut-fai-backend/nfsroot-hooks/argonaut-fai-backend
and simplyfied it a bit.
But the thing I don't understand (and that makes me mad) is:
Modifying an EXISTING nfsroot with
"chroot /srv/fai/nfsroot/live/filesystem.dir dpkg-reconfigure
locales" (with dialog input) works fine
while
"chroot /srv/fai/nfsroot/live/filesystem.dir dpkg-reconfigure
-fnoninteractive locales" fails. Even with the mentioned
debconf-communicate lines executed before.
dpkg-reconfigure should behave similar independent when invoked with or
without "-fnoninteractive". Of course I could do the configuration
manually, but I want to automate it.
Christian
More information about the linux-fai
mailing list