[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
/etc/hosts file
- From: "Kashif Ali" <snake007uk gmail com>
- To: anaconda-devel-list redhat com
- Subject: /etc/hosts file
- Date: Tue, 21 Nov 2006 14:30:03 +0000
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.localdomain localhost
why doesn't it do it correcty as:
127.0.0.1 localhost.localdomain localhost
192.168.1.8
host.mydomain.com host
i know you can create a script in the %post but i was wondering if there was a correct way of generating hosts file in the kickstart that i maybe missing?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]