index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | hooks/archiso_pxe_common | 1 |
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index 2e567ec..a47b6c0 100644 --- a/hooks/archiso_pxe_common +++ b/hooks/archiso_pxe_common @@ -73,6 +73,7 @@ run_latehook () { ip link set "${netdev}" down done elif [ "${copy_resolvconf}" != "n" ] && [ -f /etc/resolv.conf ]; then + rm -f /new_root/etc/resolv.conf cp /etc/resolv.conf /new_root/etc/resolv.conf fi fi |