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

Jiri Belka jbelka at redhat.com
Fri Jun 19 05:33:01 EDT 2015


> 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.


More information about the Users mailing list