[fedora] use resolv.conf from the host
This commit is contained in:
parent
e979ce2f6b
commit
0c56febefe
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue