Re: [PATCH master] kickstart network --device=ibft processing in stage2 fixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux