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

Re: /etc/hosts file



Kashif Ali wrote:
Hi,

I have been playing with kickstarts for a while, however i never understood
why when you have the line:

network --device eth0 --bootproto static --ip 192.168.1.8 --netmask
255.255.255.0 --gateway 192.168.1.254 --nameserver 192.168.1.252 --hostname
host.mydomain.com

kickstart creates a /etc/hosts file as follows:


127.0.0.1 host.mydomain.com myhost localhost.localdomainlocalhost

why doesn't it do it correcty as:

127.0.0.1              localhost.localdomain localhost
192.168.1.8          host.mydomain.com host

I don't want either; I use DNS for all my LANs.


--

Cheers
John

-- spambait
1aaaaaaa coco merseine nu  Z1aaaaaaa coco merseine nu
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

Please do not reply off-list


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