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

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



---
 pyanaconda/kickstart.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

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.
-- 
1.7.4


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