Bruno Take a look at my documents I made for creating/cloning virtual machines. I use the "--import" option there. That is designed to "create" a machine from an already installed image, or basically it skips the "boot from CD" (--location) or "boot from net" (--pxe).
http://wikis.sun.com/display/OpenIT/Cloning+iSCSI+xVMs Tommy On Dec 31, 2009, at 1:09 AM, Bruno Damour wrote: > On 12/30/09 07:34 AM, Muhammed Syyid wrote: >> I actually used the following guide >> http://hub.opensolaris.org/bin/view/Community+Group+xen/virtinstall >> and issued a command similar to >> >> mount -F hsfs /isos/opensuse11.iso /mnt >> share -o ro /mnt >> >> virt-install --paravirt --name dom1 --ram 1024 --vnc \ >> --os-type=linux --os-variant=sles10 \ >> --network bridge \ >> --disk path=/tank/guests/dom1/disk0,size=10,driver=phy,subdriver=zvol \ >> --location nfs:nfshost.domain.com:/mnt >> >> would re-doing that work? or a specific flag I need >> (I'm asking because by xm create centos48.cfg) I'd need to have a cfg file >> which I lack (@ least to specify the path of the zvol image) >> >> Thanks a bunch >> > I haven't tested (I will) but replacing --location xx by --import should be > the wy to go ? maybe remove the size parameter in disk path (should only be > use when creating ) > _______________________________________________ > xen-discuss mailing list > [email protected] _______________________________________________ xen-discuss mailing list [email protected]
