[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Live Query - user-fullname



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

Thanks again

On Sun, 4 Feb 2024 at 15:07, Roland Clobus <rclobus@rclobus.nl> wrote:
Hello Robert,

 >> On Sun, 4 Feb, 2024, 7:08 pm Robert Spiteri, <rspiteri01@gmail.com
 >> <mailto:rspiteri01@gmail.com>> wrote:
 >>     How can I set the user's fullname as a boot parameter?

On 04/02/2024 14:41, Harshad Joshi wrote:
> Do not use space in between. Refer hostname rules from live installer help

The user-fullname gets it default value in the package 'live-config', in
the file /lib/live/init-config.sh

If you embed a file in the live image in live/config.conf (or
live/config.conf.d/*.conf) it will work as intended.
Since you provided the name during 'lb config', I assume that you are
not really intending the name to be configurable during boot. Therefore
the following snippet will provide your custom user fullname:

lb config
mkdir -p config/includes.binary/live
echo "LIVE_USER_FULLNAME=\"This is my custom user fullname\"" >
config/includes.binary/live/config.conf
lb build

With kind regards,
Roland Clobus

Reply to: