Include empty resolv.conf only in buildd lxd tarballs.

sil2100/appliance-images
Cody Shepherd 5 years ago committed by David Krauser
parent 075d1e85bf
commit d74b68f9aa

@ -27,6 +27,10 @@ cleanup_linux_virtual() {
}
trap cleanup_linux_virtual EXIT
# The base buildd chroot includes an empty resolv.conf
# We don't want to include that in the bootable images
rm $mount_d/etc/resolv.conf
# Install dependencies
env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \
update --assume-yes

Loading…
Cancel
Save