[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] python xenapi VM.create()
Hi, Does anyone know how to use VM.create() then create and assign a disk to the newly created VM? I've been using the python bindings to start/stop VMs and get information about them from metrics. However, I failed to create and start a new VM from scratch. I successfully created a new VM but I failed to create a disk for it. I am using a single disk image for my VM configurations so my config looks like this ############# bootloader = "/usr/bin/pygrub" memory = 512 vif = ['bridge=xenbr0'] disk = ['file:/path/to/file.img,hda1,w'] dhcp = "dhcp" name = "hostname" hostname = "hostname" root = "/dev/hda1 rw" extra = "4" vfb = [ "type=vnc,vncunused=1" ] ############# I am using Xen 3.4.2. -- Regards, Ismail El Helw _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |