[ovirt-users] To start vm (runonce) with Rest API

Artyom Lukianov alukiano at redhat.com
Tue Oct 6 10:49:22 UTC 2015


You run POST request on https://your_rhevm_ip/ovirt-engine/api/vms/6ea131f6-814c-430f-9594-7ee214a44c94/start with body:

<action>
    <vm>
        <floppies>
            <floppy>
                <file id="name_of_floppy_image"/>
            </floppy>
        </floppies>
    </vm>
</action>


----- Original Message -----
From: "Qingyun Ao" <aoqingyun at gmail.com>
To: users at ovirt.org
Sent: Wednesday, September 30, 2015 9:20:51 AM
Subject: [ovirt-users] To start vm (runonce) with Rest API

Hello, all, 


Before starting a vm in the first time (runonce), we can attach a floppy drive to the vm. How can I compose the XML file to do this with oViirt Rest API? 


-- 
Best regards, 
Ao Qingyun 
aoqingyun at gmail.com 

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list