[PATCH rhel6-branch] Ignore --device=ibft in stage 2 kickstart handling (#638131)

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

 



Stage 2 can't handle "ibft" value, it is used meaningfuly only
in loader kickstart where the device would also be activated.

Related: rhbz#638131

Port of modified vpodzimek's patch for master. Tested.
---
 kickstart.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index b7ed5c4..28abcd7 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -574,6 +574,9 @@ class NetworkData(commands.network.RHEL6_NetworkData):
             log.info("unspecified network --device in kickstart, using %s (%s)" %
                      (device, msg))
         else:
+            if self.device.lower() == "ibft":
+                log.debug("--device=ibft is ignored in stage 2 kickstart")
+                return
             device = self.device
 
         # If we were given a network device name, grab the device object.
-- 
1.7.4

_______________________________________________
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