Re: Hostname and IP address during kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux