[PATCH rhel6-branch] Set value of device also for ks=bootif, missing BOOTIF case (#681803).

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

 



Related: rhbz#681803

Bad port from master. I can't believe how many mistakes I can make
in such a trivial patch.

---
 kickstart.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index bac256f..080eae9 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -603,8 +603,7 @@ class NetworkData(commands.network.RHEL6_NetworkData):
         else:
             if self.device.lower() == "ibft":
                 return
-            if self.device.lower() == "bootif":
-                if "BOOTIF" in flags.cmdline:
+            if self.device.lower() == "bootif" and "BOOTIF" in flags.cmdline:
                     # MAC address like 01-aa-bb-cc-dd-ee-ff
                     device = flags.cmdline["BOOTIF"][3:]
                     device = device.replace("-",":")
-- 
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