Home Store Blog

Casper.conf overwiting?

#1

Hi all,

always fighting with (against?) our university live customization.

Everything works well: mounting iso on folder, expanding squashfs, chrooting, customizing, exiting from chroot and re-compressing squashfs, doing what is needed and finally creating iso, but … no way to have customized hostname and username.
And I’ve noticed just now (late, I know) that in casper.conf file username is ubuntu and so is hostname; changing them to somewhere else doesn’t work: at first run hostname and username are always ubuntu-budgie and ubuntu-budgie.
Since this happens in budgie only (in “standard” ubuntu as in other ubuntu flavours changing username/hostname in casper.conf works) I’m obligated to think that somewhere there’s something that overrides casper.conf settings.

Does someone knows where this overriding happens? I’ve also tried to do a grep -i -r search but it didn’ give expected results.

Thank you,
Silvia

#2

Replying to myself by myself just to let you know that I’m at least silly :cry:

Mea culpa, mea culpa, mea maxima culpa … I’ve simply forgotten to copy new intird from modifiedFileSystem/boot to extractedCD/casper directory in order to boot CD with NEW initrd …

Sorry,
Sil

1 Like