Hostname and IP address during kickstart

Jyce jyce at free.fr
Wed Jul 14 20:36:44 UTC 2004


> I have a bunch of machines that I kickstart.  They all use DHCP to
> obtain their hostname and IP address.  The names are address are all
> static (in dhcpd.conf).
>
> Currently, in /etc/hosts on these machines, their hostname is set to
> 127.0.0.1 and this interferes with PVM.  I need to set their host name
Normally your /etc/hosts should have: 127.0.0.1    localhost.localdomain
localhost
Address and Name should be resolved by the DNS that is retrive at dhcp
request time.
> to their correct IP address in /etc/hosts.  What is the easiest way of
> doing this during %post in kickstart?
>
> Ryan
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>





More information about the redhat-list mailing list