On Tue, Mar 27, 2012 at 07:49:24PM -0400, Will Woods wrote: > -def ksnet_to_dracut(args, lineno, net): > +def ksnet_to_dracut(args, lineno, net, bootdev=False): > '''Translate the kickstart network data into dracut network data.''' > line = [] > + dev = net.device > if net.bootProto in (BOOTPROTO_DHCP, BOOTPROTO_BOOTP): > - line.append("ip=%s:dhcp" % net.device) > + line.append("ip=%s:dhcp" % dev if dev else "ip=dhcp") I don't think that's what you meant to do. If dev is None you're going to end up with: ip=ip=dhcp -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
Attachment:
pgpSw1o3lbBeY.pgp
Description: PGP signature
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list