ServerMania logo

Edit OVA

To update an OVA file, use the following request:

PUT /template_ovas/:id.xml
PUT /template_ovas/:id.json

XML Request Example

curl -i -X PUT -u user:userpass --url http://test/template_ovas/9.xml -H 'Accept: application/xml' -H 'Content-type: application/xml' -d '<image_template_ova><label>MyOVA</label><version>8.5</version><min_memory_size>512</min_memory_size><allowed_hot_migrate>true</allowed_hot_migrate><initial_password>admin</initial_password><initial_username>username</initial_username></image_template_ova>'

JSON Request Example

curl -i -X PUT -u user:userpass --url http://test/template_ovas/9.json -H 'Accept: application/json' -H 'Content-type: application/json' -d '{"image_template_ova": {"label": "MyOVA","version": "8.5","min_memory_size": "512","allowed_hot_migrate": "true"}}'

Where:

label - the title of the OVA file

version - the version of the OVA file

min_memory_size - the minimum memory size required to build VS from this OVA template (MB). It is not possible to set the memory size less than the RAM set in the OVA file itself.

allowed_hot_migrate - set true if hot migration for VS created from this OVA is enabled, otherwise, false

(lightbulb) initial_password - the initial password for vCenter-based OVA templates

(lightbulb) initial_username - the initial username for vCenter-based OVA templates


Page History

v.5.7

  • removed the following parameters: 
    • operating_system

    • operating_system_distro

    • virtualization

    • file_url

    • make_public

  • added the following parameters: 
    • initial_password
    • initial_username

v.5.5

  • added allowed_hot_migrate parameter

  • removed min_disk_size parameter