On 09/03/2014 10:12 AM, Shanil S wrote: > Hi All, > > We are using the /api/vm/ID/start function to start the virtual machine > but it seems the vm is start in the run once mode. We want to start the > vm in the Run mode rather than the run once, How can we do this ? Is > there any other option to start the vm in the run mode ? it is possible > from the ovirt admin panel. The following xml is used for the start vm > action > > $xml_data = " > <action><boot dev='cdrom'/></os> > <vm></vm></action>"; >
Use an empty <action/> element. The presence of the nested <vm></vm> element means "run once". -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

