[arch-releng] [RFC] [PATCH] [archiso] Disable dhcp service and network rename on PXE

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Sep 27 23:53:17 EDT 2013


On 09/27/2013 07:58 PM, Gerardo Exequiel Pozzi wrote:
> Fix FS#36749
> 
> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20130928/a7ebceff/attachment.asc>


More information about the arch-releng mailing list