overwrites /etc/resolv.conf after the chroot hooks have run.ubuntu/yakkety
parent
3b6ba57453
commit
3ed35d22c6
@ -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
|
Loading…
Reference in new issue