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.decho "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 bootNote 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
OpenPGP_signature.asc
Description: OpenPGP digital signature