[PATCH 1/2] dracut: fix crash with PXE ipappend and ks=file:..

Radek Vykydal rvykydal at redhat.com
Wed Aug 1 08:51:31 UTC 2012


On 07/31/2012 12:30 AM, Will Woods wrote:
> If you're using pxelinux with 'ipappend 2', it will add a "BOOTIF=..."
> argument to your boot args.
>
> parse-kickstart will rewrite your first 'network' line to a "ip=..."
> argument for dracut.

Being at this, could you explain how the ip= is used then? From looking at
dracut code I think in run_kickstart follwing parse-kickstart network
udev events are re-triggered which calls ifup.sh using new ip= lines
from kickstart? Does it restart an already activated device with new 
(from ks)
configuration?

As Vratislav and you, I think BOOTIF shouldn't override
ks network configuration of a device. If anything, it should
be used to identify device specified as:
network --device=bootif

Thanks,

Radek


More information about the anaconda-patches mailing list