From 32dae06780f417f9410b666c4acfc75ee7c996c0 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Mon, 11 May 2015 10:55:18 -0700 Subject: [PATCH] VMware: vmware_ostype should be enum The vmware_ostype property is a string property defining the available operating system types that can be associated with a VM. The os types should be a enumeration rather than just a free form string. Change-Id: Ifa5d71299c34b4613adf0107eb3fadf25ec3e906 --- etc/metadefs/compute-vmware.json | 131 +++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) diff --git a/etc/metadefs/compute-vmware.json b/etc/metadefs/compute-vmware.json index 38a6149b14..8205d8cf81 100644 --- a/etc/metadefs/compute-vmware.json +++ b/etc/metadefs/compute-vmware.json @@ -38,6 +38,137 @@ "title": "OS Type", "description": "A VMware GuestID which describes the operating system installed in the image. This value is passed to the hypervisor when creating a virtual machine. If not specified, the key defaults to otherGuest. See thinkvirt.com.", "type": "string", + "enum": [ + "asianux3_64Guest", + "asianux3Guest", + "asianux4_64Guest", + "asianux4Guest", + "asianux5_64Guest", + "centos64Guest", + "centosGuest", + "coreos64Guest", + "darwin10_64Guest", + "darwin10Guest", + "darwin11_64Guest", + "darwin11Guest", + "darwin12_64Guest", + "darwin13_64Guest", + "darwin14_64Guest", + "darwin64Guest", + "darwinGuest", + "debian4_64Guest", + "debian4Guest", + "debian5_64Guest", + "debian5Guest", + "debian6_64Guest", + "debian6Guest", + "debian7_64Guest", + "debian7Guest", + "debian8_64Guest", + "debian8Guest", + "dosGuest", + "eComStation2Guest", + "eComStationGuest", + "fedora64Guest", + "fedoraGuest", + "freebsd64Guest", + "freebsdGuest", + "genericLinuxGuest", + "mandrakeGuest", + "mandriva64Guest", + "mandrivaGuest", + "netware4Guest", + "netware5Guest", + "netware6Guest", + "nld9Guest", + "oesGuest", + "openServer5Guest", + "openServer6Guest", + "opensuse64Guest", + "opensuseGuest", + "oracleLinux64Guest", + "oracleLinuxGuest", + "os2Guest", + "other24xLinux64Guest", + "other24xLinuxGuest", + "other26xLinux64Guest", + "other26xLinuxGuest", + "other3xLinux64Guest", + "other3xLinuxGuest", + "otherGuest", + "otherGuest64", + "otherLinux64Guest", + "otherLinuxGuest", + "redhatGuest", + "rhel2Guest", + "rhel3_64Guest", + "rhel3Guest", + "rhel4_64Guest", + "rhel4Guest", + "rhel5_64Guest", + "rhel5Guest", + "rhel6_64Guest", + "rhel6Guest", + "rhel7_64Guest", + "rhel7Guest", + "sjdsGuest", + "sles10_64Guest", + "sles10Guest", + "sles11_64Guest", + "sles11Guest", + "sles12_64Guest", + "sles12Guest", + "sles64Guest", + "slesGuest", + "solaris10_64Guest", + "solaris10Guest", + "solaris11_64Guest", + "solaris6Guest", + "solaris7Guest", + "solaris8Guest", + "solaris9Guest", + "turboLinux64Guest", + "turboLinuxGuest", + "ubuntu64Guest", + "ubuntuGuest", + "unixWare7Guest", + "vmkernel5Guest", + "vmkernel6Guest", + "vmkernelGuest", + "win2000AdvServGuest", + "win2000ProGuest", + "win2000ServGuest", + "win31Guest", + "win95Guest", + "win98Guest", + "windows7_64Guest", + "windows7Guest", + "windows7Server64Guest", + "windows8_64Guest", + "windows8Guest", + "windows8Server64Guest", + "windows9_64Guest", + "windows9Guest", + "windows9Server64Guest", + "windowsHyperVGuest", + "winLonghorn64Guest", + "winLonghornGuest", + "winMeGuest", + "winNetBusinessGuest", + "winNetDatacenter64Guest", + "winNetDatacenterGuest", + "winNetEnterprise64Guest", + "winNetEnterpriseGuest", + "winNetStandard64Guest", + "winNetStandardGuest", + "winNetWebGuest", + "winNTGuest", + "winVista64Guest", + "winVistaGuest", + "winXPHomeGuest", + "winXPPro64Guest", + "winXPProGuest" + ], "default": "otherGuest" }, "hw_vif_model": {