set hostname from kernel cmdline

Andreas Schockenhoff asc at gmx.li
Thu Jul 7 20:00:47 CEST 2005


Hello,

On Thursday 07 July 2005 13:38, doof wrote:
> I try to set hostname from kernel cmdline using dhcp.
> For information, i dont have dns. dhcp give me a @ip and fai set the
> hostname to @IP. (HOSTNAME=192)

Try: HOST=demohost

works fine for me I set this in the  /tftpboot/pxelinux.cfg/default

Example:
label i-fai
kernel vmlinuz-install
append HOST=fai ip=dhcp devfs=nomount FAI_ACTION=install root=/dev/nfs 
FAI_FLAGS=verbose,createvt 
 
bye Andreas 



More information about the linux-fai mailing list