[ovirt-users] [ovirt 3.5.1] Attach sysprep floppy from the API

Guillaume Penin guillaume at onlineacid.com
Tue May 26 14:04:03 UTC 2015


Hi,

I would like to attach a sysprep floppy to a Windows VM.

Currently, I am able to configure the sysprep custom script from the API 
:

PUT https://HOSTNAME/api/vms/{id}
<vm>
     <initialization>
        <custom_script>{my content}</custom_script>
     </initialization>
</vm>

After that, when I start the VM from the Web UI in RunOnce mode, I can 
attach the sysprep floppy to the VM.

But how can I attach the sysprep floppy and start the VM in RunOnce mode 
from the API ?

Regards,



More information about the Users mailing list