citype => {
optional => 1,
type => 'string',
- description => 'Specifies the cloud-init configuration format.',
+ description => 'Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.',
enum => ['configdrive2', 'nocloud'],
},
ciuser => {
description => "cloud-init : Setup public SSH keys (one key per line, " .
"OpenSSH format).",
},
- hostname => {
- optional => 1,
- description => "cloud-init: Hostname to use instead of the vm-name + search-domain.",
- type => 'string', format => 'dns-name',
- maxLength => 255,
- },
};
# what about other qemu settings ?
return $prop;
}
+# return copy of $confdesc_cloudinit to generate documentation
+sub cloudinit_config_properties {
+
+ return dclone($confdesc_cloudinit);
+}
+
sub check_type {
my ($key, $value) = @_;