Signed-off-by: Gerardo Exequiel Pozzi
---
archiso/initcpio/hooks/archiso_pxe_common | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common
index d8ac709..ce78425 100644
--- a/archiso/initcpio/hooks/archiso_pxe_common
+++ b/archiso/initcpio/hooks/archiso_pxe_common
@@ -47,4 +47,9 @@ run_latehook () {
if [[ "${copy_resolvconf}" != "n" && -f /etc/resolv.conf ]]; then
cp /etc/resolv.conf /new_root/etc/resolv.conf
fi
+
+ if [[ -n "${ip}" ]]; then
+ ln -s /dev/null /new_root/etc/udev/rules.d/80-net-name-slot.rules
+ rm /new_root/etc/udev/rules.d/81-dhcpcd.rules
+ fi
}
--
1.8.4