
19 Jun
2015
19 Jun
'15
12:33 p.m.
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 ?
iiuc it's payload stuff, see http://www.ovirt.org/Features/VMPayload j.