From ed07502587ea4826d11966bdb9c38c78aa81a5ac Mon Sep 17 00:00:00 2001 From: Tom Paine Date: Wed, 20 May 2015 16:01:29 +0100 Subject: [PATCH 1/2] Update vsphere_guest.py Add example distributed virtual switch example so vm_nic options are clearer. --- cloud/vmware/vsphere_guest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloud/vmware/vsphere_guest.py b/cloud/vmware/vsphere_guest.py index a33fd52ea70..a09a59c711d 100644 --- a/cloud/vmware/vsphere_guest.py +++ b/cloud/vmware/vsphere_guest.py @@ -153,6 +153,10 @@ EXAMPLES = ''' type: vmxnet3 network: VM Network network_type: standard + nic2: + type: vmxnet3 + network: dvSwitch Network + network_type: dvs vm_hardware: memory_mb: 2048 num_cpus: 2 From 3183ab6da17d956dcd82726606b2af1d4ef05687 Mon Sep 17 00:00:00 2001 From: Tom Paine Date: Thu, 21 May 2015 12:52:52 +0100 Subject: [PATCH 2/2] Update vsphere_guest.py Add mounted ISO image to examples. --- cloud/vmware/vsphere_guest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cloud/vmware/vsphere_guest.py b/cloud/vmware/vsphere_guest.py index a09a59c711d..256ec00abab 100644 --- a/cloud/vmware/vsphere_guest.py +++ b/cloud/vmware/vsphere_guest.py @@ -162,6 +162,9 @@ EXAMPLES = ''' num_cpus: 2 osid: centos64Guest scsi: paravirtual + vm_cdrom: + type: "iso" + iso_path: "DatastoreName/cd-image.iso" esxi: datacenter: MyDatacenter hostname: esx001.mydomain.local