/etc/hosts in an installed system comes from one of several places: - the netbase package which ships a sane default - scripts/casper-bottom/18hostname, which is mostly identical to the netbase one but sets a hostname to the flavor name - the installer which writes one to the target fs - chroot includes in livecd-rootfs A chroot include is only needed for images that don't include netbase (so don't inherit from the minimal seed), don't boot casper, and don't run an installer. NONE of these conditions are true for the ubuntu-server live image. And in addition, the /etc/hosts here differs from the others. So, remove it.ubuntu/mantic
parent
1e91885827
commit
6be1e868f0
@ -1,9 +0,0 @@
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
::1 localhost6.localdomain6 localhost6
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
fe00::0 ip6-localnet
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
ff02::3 ip6-allhosts
|
Loading…
Reference in new issue