From 5704ba6305b8aec380f90c3a35cbc4031f54f112 Mon Sep 17 00:00:00 2001 From: DamonLi <damonl@vmware.com> Date: Fri, 26 May 2017 17:02:13 +0800 Subject: [PATCH] Add img_linked_clone to compute vmware metadefs The nova vmware driver checks images for the 'img_linked_clone' property at boot time, but that property is missing in OS::Compute::VMware metadefs. This patch adds 'img_linked_clone' property. No default value is specified for this property as the default behavior in a particular cloud depends on the nova configuration setting for 'vmware.use_linked_clone'. DocImpact: add to metadefs release note Change-Id: I27cd33b9b9593de61a6558879d337685ebd6f734 --- etc/metadefs/compute-vmware.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/metadefs/compute-vmware.json b/etc/metadefs/compute-vmware.json index a10dfb8fcb..51e0ccef60 100644 --- a/etc/metadefs/compute-vmware.json +++ b/etc/metadefs/compute-vmware.json @@ -10,6 +10,11 @@ } ], "properties": { + "img_linked_clone":{ + "title": "Linked Clone", + "description": "By default, the VMware compute driver creates linked clones when possible (though this can be turned off by the operator). You can use this image property on a per-image basis to control whether virtual machines booted from the image are treated as full clones (value: false) or linked clones (value: true). Please refer to VMware documentation for information about full vs. linked clones.", + "type": "boolean" + }, "vmware_adaptertype": { "title": "Disk Adapter Type", "description": "The virtual SCSI or IDE controller used by the hypervisor.",