Remove /etc/resolv.conf from virtual machine images, which is
copied from the build host. It is renamed to /etc/resolv.conf.bak on boot, so never used anyway. Noticed by: peter MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
bf71fe61af
commit
3103eac6a0
@ -90,5 +90,7 @@ vm_extra_pre_umount() {
|
||||
# * firstboot_pkgs (install packages)
|
||||
touch ${DESTDIR}/firstboot
|
||||
|
||||
rm -f ${DESTDIR}/etc/resolv.conf
|
||||
|
||||
return 0
|
||||
}
|
||||
|
@ -92,5 +92,7 @@ EOF
|
||||
|
||||
touch ${DESTDIR}/firstboot
|
||||
|
||||
rm -f ${DESTDIR}/etc/resolv.conf
|
||||
|
||||
return 0
|
||||
}
|
||||
|
@ -15,4 +15,5 @@ vm_extra_pre_umount () {
|
||||
|
||||
# Setup the Vagrant common items
|
||||
vagrant_common
|
||||
rm -f ${DESTDIR}/etc/resolv.conf
|
||||
}
|
||||
|
@ -19,4 +19,5 @@ vm_extra_pre_umount () {
|
||||
|
||||
# Setup the Vagrant common items
|
||||
vagrant_common
|
||||
rm -f ${DESTDIR}/etc/resolv.conf
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user