Ping -- can anyone help me here?
On 6/18/2019 3:48 PM, john doe wrote: > Hi, > > I'm trying to comprehend in which conditions the hostname and domain can > be specified as kernel boot parameter: > As far as I understand it there are three ways to specify a hostname/domain: > - Kernel boot parameter (boot: hostname=<HOSTNAME>) > - By DHCP > - Static hostname in a preseed file ('d-i netcfg/hostname string <HOSTNAME) > > > I use a common preseed file for the debian installer with the exception > of the hostname that needs to be changed for eatch hosts. > So for example I would do something like: > > boot: auto interface=auto url=<URL> hostname=try > > On the installed system the hostname is always sed to 'bad'. > > I would expect that 'hostname' in the above command would take > precedence over other hostnames that are specified by other means (DHCP > ...). > > What am I missing? > > > In other words: what is the best way to specify a hostname as kernel > boot parameter. > -- John Doe