Hi David, According to my understanding that is correct. As in the hostname should be on the localhost line. If you ip changed then you would have to update that line if you do it as you have suggested. What I am still trying to find a clear answer on is how do you handle multihomed hosts and should the hostname in /etc/sysconfig/network really be set to the fqdn? If you do that then it breaks the command hostname and you get the same result using hostname and hostname -f. Hopefully someone else can clear it up.
Regards On Fri, Aug 19, 2011 at 1:12 PM, David Lee <[email protected]> wrote: > (cobbler 2.0.11; on RHEL 5.6 server; installing RHEL 5.6 clients) > > I'm making good progress with cobbler, and trying to keep things as > simple as possible. > > But I've spotted a problem. A freshly installed system (say "client1") > has a hosts file that contains just one active IPv4 line: > 127.0.0.1 client1.my.domain client1 localhost.localdomain localhost > > Shouldn't that be two lines, something like: > 127.0.0.1 localhost.localdomain localhost > 10.156.x.y client1.my.domain client1 > > That is, putting my real hostname and real IP as a separate entry. > > This seems so intuitive, and likely to be so commonly wanted, that I > presume there must be some hook in cobbler that I've missed. (Or do I > have to write some sort of post-install snippet to manipulate /etc/hosts > to achieve this?) > > -- > : David Lee > : ECMWF (Data Handling System) > : Shinfield Park > : Reading RG2 9AX > : Berkshire > : > : tel: +44-118-9499 362 > : email: [email protected] > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > -- Gerhardus Geldenhuis
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
