[arch-releng] [RFC] [PATCH] [archiso] Disable dhcp service and network rename on PXE
Fix FS#36749 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- archiso/initcpio/hooks/archiso_pxe_common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index d8ac709..a95f2e1 100644 --- a/archiso/initcpio/hooks/archiso_pxe_common +++ b/archiso/initcpio/hooks/archiso_pxe_common @@ -47,4 +47,6 @@ run_latehook () { if [[ "${copy_resolvconf}" != "n" && -f /etc/resolv.conf ]]; then cp /etc/resolv.conf /new_root/etc/resolv.conf fi + 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 } -- 1.8.4
On 09/27/2013 07:58 PM, Gerardo Exequiel Pozzi wrote:
Fix FS#36749
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- archiso/initcpio/hooks/archiso_pxe_common | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index d8ac709..a95f2e1 100644 --- a/archiso/initcpio/hooks/archiso_pxe_common +++ b/archiso/initcpio/hooks/archiso_pxe_common @@ -47,4 +47,6 @@ run_latehook () { if [[ "${copy_resolvconf}" != "n" && -f /etc/resolv.conf ]]; then cp /etc/resolv.conf /new_root/etc/resolv.conf fi + 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 }
ignore this! -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
participants (1)
-
Gerardo Exequiel Pozzi