The OVF format supports different configurations, which can be selected at deployment time.
Example to define configurations:
configurations:
tall:
label: Tall
description: too little for the money
grande:
default: true
label: Grande
description: just right
venti:
label: Venti
description: too much
These can be used in the hardware section. In this example, the hard disk will only be created for the venti configuration:
To set values for the number of CPUs and amount of memory, the special keywords for the hardware cpus and memory cannot be used for different configurations because the keys need to be unique. To set different values, use the same syntax as for the other hardware items, with type set to cpus or memory, and the number of CPUs with the field number and size for memory:
Support OVF Configurations.
The OVF format supports different configurations, which can be selected at deployment time.
Example to define configurations:
These can be used in the
hardware
section. In this example, the hard disk will only be created for theventi
configuration:To set values for the number of CPUs and amount of memory, the special keywords for the hardware
cpus
andmemory
cannot be used for different configurations because the keys need to be unique. To set different values, use the same syntax as for the other hardware items, withtype
set tocpus
ormemory
, and the number of CPUs with the fieldnumber
andsize
for memory:The default configuration can be set in the
system
section: