Thank you roland for correcting me. I had misread the requirement. On Sun, 4 Feb, 2024, 8:38 pm Robert Spiteri, <[email protected]> wrote:
> Thanks again Roland for your time and help. > > I will try your suggestions and let you know should I encounter any issues. > > On Sun, 4 Feb 2024 at 15:34, Roland Clobus <[email protected]> wrote: > >> Hello Robert, >> >> On 04/02/2024 15:18, Robert Spiteri wrote: >> > Thanks Roland. >> > >> > And can I also set the hostname and username in this file please? Since >> > for now I am using the --bootappend-live option and I do not want that >> > since they can be changed on boot. >> > >> > Can you please send me a link to some documentation about it? I never >> > heard about the file config.conf >> >> There is some documentation (besides the source code) [1]: >> >> https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-run-time-behaviours.en.html#530 >> >> You can do the following instead: >> >> lb config >> mkdir -p config/includes.chroot/etc/live/config.conf.d >> echo "LIVE_USER_FULLNAME=\"This is my custom user fullname\"" > >> config/includes.chroot/etc/live/config.conf.d/10-user-setup.conf >> lb build >> >> It's a matter of taste where you provide the user fullname: >> 1) Inside the compressed squashfs -> smallest >> 2) In the binary image -> configurable when written on USB sticks >> 3) In the kernel command line -> configurable at every boot >> >> Note that whatever you have set in a configuration file, the user can >> still override it with the kernel command line at boot. >> >> A peek at the source file [1] shows you all options that you can >> configure there. >> >> With kind regards, >> Roland Clobus >> >> [1] >> >> https://sources.debian.org/src/live-config/11.0.4/frontend/init-config.sh/?hl=6#L6 >> >
