The -H only gets run if your system name is "localhost.localdomain" (and maybe even just "localhost"). Set the system name to something else (/etc/sysconfig/network file) and it won't do that anymore. Cheers, -Tim On Wed, 2003-04-16 at 16:05, Lynn, Michael (IDS DM&DS) wrote: > Greetings. > > As you are probably aware, kickstart supports building servers with dhcp assigned ip addresses. > > My question has to do with the default behaviour of dhcpcd. If I build a server using a ks.cfg with > > network --device eth0 --bootproto dhcp > > the ifup script ends up executing dhcpcd with a -H and assigns a hostname to the server that is provided by the dhcp server. I would like to avoid this and have the server hostname be assigned from > /etc/hosts. > > My first thought is to insert code into the ks.cfg that patches /etc/sysconfig/network-scripts/ifup to avoid using the -H flag on dhcpcd. > > Anyone tackle this yet? Any suggestions? > > TIA, > Mike > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Timothy E. Miller voice: (336)758-3257 Parallel Computing Systems Administrator fax: (336)758-7127 Wake Forest University cell: (336)782-6987 Computer Science, Information Systems, Public Health Sciences ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~