[ovirt-users] Start VM function using ovirt api

Shanil S xielesshanil at gmail.com
Wed Sep 3 08:12:23 UTC 2014


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>";

-- 
Regards
Shanil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140903/2916a1cb/attachment-0001.html>


More information about the Users mailing list