| A few use Xen appends [message #94470] |
Sun, 22 January 2012 12:16  |
|
Here are some lines that you can add into the Append to Xen Config section.
#This line clears the previous variables and then sets the bootloader to pygrub. No chattr +i is needed on the file. If the user switches to a nonpygrub config, you have to remove the append as well:
kernel = '';ramdisk = '';root = '';bootloader = '/usr/bin/pygrub'
#This is needed for a fresh install. Anaconda will not detect the default sda drive config. This sets it to xvda.
disk = ['phy:/dev/VolGroup00/'+name.rstrip('.vm')+'_rootimg,xvda,w' , 'phy:/dev/VolGroup00/'+name.rstrip('.vm')+'_vmswap,xvdb,w']
#These are needed for Windows 2008 to work:
pae=1
viridian=0
apic=1
I hope this makes the pygrub a bit easier to manage until it is included in a future release.
https://www.mercuryvps.com
HyperVM Xen VPS hosting
[Updated on: Fri, 02 March 2012 19:16] Report message to a moderator
|
|
|
|