ServerMania logo

Update ISO

To update an ISO, use the following request:

PUT /template_isos/:id.xml
PUT /template_isos/:id.json

XML Request Example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type:application/xml' -u user:userpass -d
'<image_template_iso><label>label</label><min_disk_size>10</min_disk_size><min_memory_size>320</min_memory_size><version>1.3</version><operating_system>Linux</operating_system><operating_system_distro>redhel</operating_system_distro><virtualization>xen</virtualization><allowed_hot_migrate>true</allowed_hot_migrate></image_template_iso>' --url http://test/template_isos/2.xml

JSON Request Example

curl -i -X PUT -H 'Accept: application/json' -H 'Content-type:application/json' -u user:userpass -d '{"image_template_iso":{"label":"label","version":"1.3","min_memory_size": "320","min_disk_size": "10","operating_system": "Linux", "operating_system_distro": "Fedore","allowed_hot_migrate": true, "virtualization": ["xen", "kvm"]}}' --url http://test/template_isos/2.json


label – the ISO title

min_memory_size – minimum memory size required to build a VS on this ISO (MB)

version – file version

operating_system - operating system name

operating_system_distro - type in the operating system distribution in free form

min_disk_size - the minimum disk size required to build a VS on this ISO (GB)

virtualization - type of virtualization (xen, kvm or kvm_virtio) which is compatible with this ISO

allowed_hot_migrate - set true to enable hot migration for VS created from this ISO

Page History


  • added allowed_hot_migrate parameter