[CentOS] How to set hostname and domainnmae in CentOS 7?

Wed Apr 6 18:47:40 UTC 2016
John R Pierce <pierce at hogranch.com>

On 4/6/2016 11:34 AM, James Hogarth wrote:
> On 6 April 2016 at 15:45, Mark Haney<mark.haney at vifprogram.com>  wrote:
>
>> >Not sure about everyone else, but I always put my hostname in /etc/hosts.
>> >Maybe that's from years of not always having DNS available back when the
>> >earth was cooling.
>> >
>> >
> This behaviour plays havoc with templated VMs though or any time you can't
> be sure the IP there will be correct ...

indeed, most all my servers except a few key infrastructure servers are 
configured with DHCP reservations.



-- 
john r pierce, recycling bits in santa cruz