I think this bug lives in ubuntu-installer/ubiquity/ currently line 1525 /scripts/install.py (revision 2954)
1515 hosts = open(os.path.join(self.target, 'etc/hosts'), 'w') 1516 997 print >>hosts, "127.0.0.1\tlocalhost" 1517 1772 if domain: 1518 print >>hosts, "127.0.1.1\t%s.%s\t%s" % (hostname, domain, 1519 hostname) 1520 else: 1521 print >>hosts, "127.0.1.1\t%s" % hostname 1522 997 print >>hosts, textwrap.dedent("""\ 1523 996 1524 997 # The following lines are desirable for IPv6 capable hosts 1525 ::1 ip6-localhost ip6-loopback 1526 fe00::0 ip6-localnet 1527 ff00::0 ip6-mcastprefix 1528 ff02::1 ip6-allnodes 1529 ff02::2 ip6-allrouters 1530 ff02::3 ip6-allhosts""") 1531 996 hosts.close()
I think this bug lives in ubuntu- installer/ ubiquity/
currently line 1525 /scripts/install.py (revision 2954)
1515 hosts = open(os. path.join( self.target, 'etc/hosts'), 'w') 0.1\tlocalhost" 1.1\t%s. %s\t%s" % (hostname, domain, dedent( """\
1516 997 print >>hosts, "127.0.
1517 1772 if domain:
1518 print >>hosts, "127.0.
1519 hostname)
1520 else:
1521 print >>hosts, "127.0.1.1\t%s" % hostname
1522 997 print >>hosts, textwrap.
1523 996
1524 997 # The following lines are desirable for IPv6 capable hosts
1525 ::1 ip6-localhost ip6-loopback
1526 fe00::0 ip6-localnet
1527 ff00::0 ip6-mcastprefix
1528 ff02::1 ip6-allnodes
1529 ff02::2 ip6-allrouters
1530 ff02::3 ip6-allhosts""")
1531 996 hosts.close()