This code includes a call to self.lookupHostname(), this function totally trashes /etc/resolv.conf in the anaconda-ramdisk and it will only work i hostname i set to FQDN. I have posted this to anaconda-devel-list, and think its a bug. /// D On Wed, 14 May 2003, Jason Kohles wrote: > Which means the machine was not able to resolve the ip address you entered, > this is the code that writes /etc/hosts during install: > > # /etc/hosts > f = open(instPath + "/etc/hosts", "w") > localline = "127.0.0.1\t\t" > > log("self.hostname = %s", self.hostname) > > ip = self.lookupHostname() > > # If the hostname is not resolvable, tie it to 127.0.0.1 > if not ip and self.hostname != "localhost.localdomain": > localline = localline + self.hostname + " " > l = string.split(self.hostname, ".") > if len(l) > 1: > localline = localline + l[0] + " " > > localline = localline + "localhost.localdomain localhost\n" > f.write("# Do not remove the following line, or various programs\n") > f.write("# that require network functionality will fail.\n") > f.write(localline) > > if ip: > f.write("%s\t\t%s\n" % (ip, self.hostname)) > > If the hostname you entered was not resolvable to an ip address, then it > will get associated with the localhost address in /etc/hosts. > >