diff --git a/fedora-build-opennebula-image.sh b/fedora-build-opennebula-image.sh index 4d22522..f078042 100755 --- a/fedora-build-opennebula-image.sh +++ b/fedora-build-opennebula-image.sh @@ -107,8 +107,7 @@ mount --bind /sys /mnt/sys # systemd-networkd. # Required to resolve package mirror in chroot. -# TODO: use non-$BIGCORP DNS service. -echo 'nameserver 1.1.1.1' >> /mnt/etc/resolv.conf +cp /etc/resolv.conf /mnt/etc/resolv.conf # Initialize /etc/hosts. cat > /mnt/etc/hosts << EOF