FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-13-2009, 11:19 AM
Radek Vykydal
 
Default 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
 
Old 11-13-2009, 11:19 AM
Radek Vykydal
 
Default 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
 
Old 11-13-2009, 12:34 PM
Hans de Goede
 
Default 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
 
Old 09-20-2010, 03:39 PM
Radek Vykydal
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org