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" <[email protected]>
To: [email protected]
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 
[email protected] 

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to