[PATCH rhel5 pykickstart] Add kickstart support for xen hypervisor arguments in grub. (#501438)

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

 



bootloader option --hvargs added.
---
 pykickstart/data.py   |    2 +-
 pykickstart/parser.py |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pykickstart/data.py b/pykickstart/data.py
index 54a989e..aab8e70 100644
--- a/pykickstart/data.py
+++ b/pykickstart/data.py
@@ -22,7 +22,7 @@ class KickstartData:
         self.autostep = {"autoscreenshot": False}
         self.bootloader = {"appendLine": "", "driveorder": [],
                            "forceLBA": False, "location": "mbr", "md5pass": "",
-                           "password": "", "upgrade": False}
+                           "password": "", "upgrade": False, "hvArgs": ""}
         self.dmraids = []
         self.encrypted = False
         self.mpaths = []
diff --git a/pykickstart/parser.py b/pykickstart/parser.py
index aea3285..5c93de5 100644
--- a/pykickstart/parser.py
+++ b/pykickstart/parser.py
@@ -345,6 +345,7 @@ class KickstartHandlers:
                       default=False)
         op.add_option("--driveorder", dest="driveorder", action="callback",
                       callback=driveorder_cb, nargs=1, type="string")
+        op.add_option("--hvargs", dest="hvArgs")
 
         (opts, extra) = op.parse_args(args=args)
         self._setToDict(op, opts, self.ksdata.bootloader)
-- 
1.6.0.6

_______________________________________________
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