Bug#661369: Setting the hostname via --bootappend-live spelled out in excruciating detail
On 26/02/12 09:33 PM, firstname.lastname@example.org wrote:
> Thx again, but still cannot find out howto pass them through lb_config
> I've read the live manual, but still this is not clear.
I can't see how it is not clear, after I led you directly to the
relevant doc sections!
Although live-manual does not list every single option you can pass via
--bootappend-live, it does introduce the idea in 7.1 that you can use
this parameter to specify any of the options listed in the live-boot and
live-config man pages and urges you to install those. It also links
directly to chapter 10 where this is explained in more detail, giving an
ample number of examples.
Furthermore, the live-config man page (if you've actually read it, which
I am beginning to doubt) indicates that 'hostname' is among the
parameters you can pass:
live-config.hostname=HOSTNAME | hostname=HOSTNAME
Allows to set the hostname of the system. The default is 'debian'.
In chapter 10, in the very first example, "Customizing the live user",
it shows how to change the username. Is the doc really so confusing that
you can't put the two together and figure out that hostname works the
It is also possible to change the default username "user" and the
default password "live". If you want to do that for any reason, you
can easily achieve it as follows:
To change the default username you can simply specify it in your
$ lb config --bootappend-live "username=live-user"
So, since you seem to have difficulty with this, I will put the
information from two documents together for you:
$ lb config --bootappend-live "hostname=live"
Frankly, I'm disappointed at the degree of hand-holding that I've had to
do here. I think the documentation is completely clear about this. And
no, in case you were thinking it, I will not list hostname=live as
another example in live-manual. This will not help make it clearer
because then our readers have to slog through yet another example to
convey to them exactly the same information as the other ones. The
logical conclusion to that would be the wholesale copying of the entire
contents of the man pages into live-manual. This would encourage lazy
readers to believe they can skip reading the man pages and just rely on
live-manual to tell them everything they need to know. Do you know I
already have had users complain that they cannot use live-manual because
it's too long? No, listing every blessed option that is already listed
in live-config man page in live-manual is not the answer.
I'm sorry if this sounds harsh, but this is now the fourth time in this
bug report you've been told what to do, and my patience is now worn