Imported using git-ubuntu import.
Changelog parent: c788aa8b1c
New changelog entries:
[ James Hunt ]
* Convert resolvconf hook from a chroot hook to a binary hook since lb
overwrites /etc/resolv.conf after the chroot hooks have run. *
* create /etc/hosts for ubuntu-core:system-image
impish
parent
c788aa8b1c
commit
a40ec94d24
@ -1,3 +0,0 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
ln -fs /run/resolvconf/resolv.conf /etc/resolv.conf
|
@ -0,0 +1,7 @@
|
||||
#!/bin/sh -x
|
||||
#---------------------------------------------------------------------
|
||||
# this must be run as a binary hook (outside the chroot) since lb
|
||||
# massages resolv.conf on finishing the chroot operations.
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
ln -fs /run/resolvconf/resolv.conf chroot/etc/resolv.conf
|
@ -0,0 +1,9 @@
|
||||
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