[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH master] kickstart network --device=ibft processing in stage2 fixed
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH master] kickstart network --device=ibft processing in stage2 fixed
- Date: Tue, 8 Mar 2011 11:31:38 -0500
> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
> index 0192e94..2503d64 100644
> --- a/pyanaconda/kickstart.py
> +++ b/pyanaconda/kickstart.py
> @@ -609,6 +609,11 @@ class NetworkData(commands.network.F16_NetworkData):
> device = device.replace("-",":")
> log.info("bootif in kickstart used, transforming to MAC address")
>
> + # We can ignore this value here because it's handled in stage1
> + if self.device.lower() == "ibft":
> + log.info("'ibft' value in kickstart used, ignoring in stage2")
> + return
> +
> # If we were given a network device name, grab the device object.
> # If we were given a MAC address, resolve that to a device name
> # and then grab the device object. Otherwise, errors.
Same comment as on the previous one - you're assuming self.device
exists, and we don't really need to log.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]