index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Hesse <mail@eworm.de> | 2021-01-18 11:07:14 +0100 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2021-01-26 21:59:01 +0000 |
commit | 91d31c00527154fc2ca6ecad5fadabc24bcf76d3 (patch) | |
tree | 9375c506d89ee381616dae49a59d7e081fb3e823 /hooks | |
parent | 4789f2dc869b2a89278043b8fc668af20698ceb3 (diff) |
-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 |