Re: DHCP Assigned IP Addresses

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

 



Lynn, Michael (IDS DM&DS) wrote:
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?

I put this line in /etc/sysconfig/network:

DHCP_HOSTNAME=$HOSTNAME

and then I have a script that runs at first boot and asks for the hostname.

Forrest
--






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux