[Fedora-xen] Re: xenguest-install.py with multiple disks?

Robin Bowes robin-lists at robinbowes.com
Fri Nov 3 00:16:52 UTC 2006


Ben wrote:
> I wrote it a while ago, but check out the hacked verison of
> xenguest-install.py I attached here:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185860
> 
> I assume it would still work....

It sure does!

I updated it to include some of the changes added to the more recent
xenguest-install.py (uuid stuff, mainly).

One small snag...

I ran it as follows:

xenguest-install-md.py --bridges="xenbr0" --file="/dev/vg01/guest1_root
/dev/vg01/guest1_usr /dev/vg01/guest1_home /dev/vg01/guest1_var
/dev/vg01/guest1_swap" --name=guest1 --ram=256
--location=http://mirrors.kernel.org/fedora/core/5/i386/os/
--extra-args="ip=192.168.23.230 netmask=255.255.255.248
gateway=192.168.23.225 dns=192.168.2.203,192.168.2.204
ks=http://example.com/kickstart/guest1-fc5.cfg"

Each of the defined partitions were mapped as a physical disk in the
guest, i.e. xvda, xvdb, xvdc, etc.

I'd like them to appear as xvda1, xvda2, xvda3, etc.

Any idea how to change the code to do that?

Thanks,

R.




More information about the Fedora-xen mailing list