[fedora] use resolv.conf from the host

This commit is contained in:
Nico Schottelius 2019-12-09 21:40:42 +01:00
parent e979ce2f6b
commit 0c56febefe
1 changed files with 1 additions and 2 deletions

View File

@ -107,8 +107,7 @@ mount --bind /sys /mnt/sys
# systemd-networkd. # systemd-networkd.
# Required to resolve package mirror in chroot. # Required to resolve package mirror in chroot.
# TODO: use non-$BIGCORP DNS service. cp /etc/resolv.conf /mnt/etc/resolv.conf
echo 'nameserver 1.1.1.1' >> /mnt/etc/resolv.conf
# Initialize /etc/hosts. # Initialize /etc/hosts.
cat > /mnt/etc/hosts << EOF cat > /mnt/etc/hosts << EOF