From 4ace0f9ca5300b7356a04f48939b08fae36815aa Mon Sep 17 00:00:00 2001 From: SandeepPissay Date: Thu, 23 Mar 2017 15:03:52 -0700 Subject: [PATCH] Fixed cdrom to be connected during startup (#8) --- upup/pkg/fi/cloudup/vsphere/vsphere_cloud.go | 1 + 1 file changed, 1 insertion(+) diff --git a/upup/pkg/fi/cloudup/vsphere/vsphere_cloud.go b/upup/pkg/fi/cloudup/vsphere/vsphere_cloud.go index e3a4634870..18c86a6171 100644 --- a/upup/pkg/fi/cloudup/vsphere/vsphere_cloud.go +++ b/upup/pkg/fi/cloudup/vsphere/vsphere_cloud.go @@ -284,6 +284,7 @@ func (c *VSphereCloud) UploadAndAttachISO(vm *string, isoFile string) error { // passing empty cd-rom name so that the first one gets returned cdrom, err := devices.FindCdrom("") + cdrom.Connectable.StartConnected = true if err != nil { return err }