[PATCH 2/3 pykickstart] Add support for network --bootproto ibft option (#638131)

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

 



---
 pykickstart/commands/network.py |    1 +
 pykickstart/constants.py        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pykickstart/commands/network.py b/pykickstart/commands/network.py
index b0a7026..ec988c5 100644
--- a/pykickstart/commands/network.py
+++ b/pykickstart/commands/network.py
@@ -311,6 +311,7 @@ class RHEL6_Network(F9_Network):
     def __init__(self, writePriority=0, *args, **kwargs):
         F9_Network.__init__(self, writePriority, *args, **kwargs)
         self.activate = kwargs.get("activate", False)
+        self.bootprotoList.append(BOOTPROTO_IBFT)
 
     def _getParser(self):
         op = F9_Network._getParser(self)
diff --git a/pykickstart/constants.py b/pykickstart/constants.py
index 58395e6..5e12fc8 100644
--- a/pykickstart/constants.py
+++ b/pykickstart/constants.py
@@ -50,6 +50,7 @@ BOOTPROTO_DHCP = "dhcp"
 BOOTPROTO_BOOTP = "bootp"
 BOOTPROTO_STATIC = "static"
 BOOTPROTO_QUERY = "query"
+BOOTPROTO_IBFT = "ibft"
 
 GROUP_REQUIRED = 0
 GROUP_DEFAULT = 1
-- 
1.7.2

_______________________________________________
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