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:
Glen Barber 2017-11-21 18:02:18 +00:00
parent bf71fe61af
commit 3103eac6a0
4 changed files with 6 additions and 0 deletions

View File

@ -90,5 +90,7 @@ vm_extra_pre_umount() {
# * firstboot_pkgs (install packages)
touch ${DESTDIR}/firstboot
rm -f ${DESTDIR}/etc/resolv.conf
return 0
}

View File

@ -92,5 +92,7 @@ EOF
touch ${DESTDIR}/firstboot
rm -f ${DESTDIR}/etc/resolv.conf
return 0
}

View File

@ -15,4 +15,5 @@ vm_extra_pre_umount () {
# Setup the Vagrant common items
vagrant_common
rm -f ${DESTDIR}/etc/resolv.conf
}

View File

@ -19,4 +19,5 @@ vm_extra_pre_umount () {
# Setup the Vagrant common items
vagrant_common
rm -f ${DESTDIR}/etc/resolv.conf
}