Add kickstart support for xen hypervisor arguments in grub. (#501438)
3 Patches - for anaconda, booty, and pykickstart.
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
Add kickstart support for xen hypervisor arguments in grub. (#501438)
bootloader option --hvargs added.
--- installclass.py | 4 +++- kickstart.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/installclass.py b/installclass.py index c286a81..a1fd556 100644 --- a/installclass.py +++ b/installclass.py @@ -82,7 +82,7 @@ class BaseInstallClass: pass def setBootloader(self, id, location=None, forceLBA=0, password=None, - md5pass=None, appendLine="", driveorder = []): + md5pass=None, appendLine="", driveorder = [], hvArgs=""): if appendLine: id.bootloader.args.set(appendLine) id.bootloader.setForceLBA(forceLBA) @@ -94,6 +94,8 @@ class BaseInstallClass: id.bootloader.defaultDevice = location else: id.bootloader.defaultDevice = -1 + if hvArgs: + id.bootloader.hvArgs = hvArgs # XXX throw out drives specified that don't exist. anything else # seems silly diff --git a/kickstart.py b/kickstart.py index 37b4246..3892aaa 100644 --- a/kickstart.py +++ b/kickstart.py @@ -154,7 +154,8 @@ class AnacondaKSHandlers(KickstartHandlers): self.showSteps.append("bootloader") self.id.instClass.setBootloader(self.id, location, dict["forceLBA"], dict["password"], dict["md5pass"], - dict["appendLine"], dict["driveorder"]) + dict["appendLine"], dict["driveorder"], + dict["hvArgs"]) self.permanentSkipSteps.extend(["upgbootloader", "bootloader", "bootloaderadvanced"]) -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
Add kickstart support for xen hypervisor arguments in grub. (#501438)
Ack for all 3.
Regards, Hans On 11/13/2009 01:19 PM, Radek Vykydal wrote: 3 Patches - for anaconda, booty, and pykickstart. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
Add kickstart support for xen hypervisor arguments in grub. (#501438)
3 Patches - for anaconda, booty, and pykickstart.
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 02:18 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.