From f42f5a8ad3578e3a7465f7d4906dceaef5a6f774 Mon Sep 17 00:00:00 2001 From: Alexander Laamanen Date: Fri, 24 Feb 2017 16:05:57 +0200 Subject: [PATCH] Remove some extra logging. --- builder/vmware/common/driver_esx5.go | 1 - builder/vmware/common/step_upload_vmx.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/builder/vmware/common/driver_esx5.go b/builder/vmware/common/driver_esx5.go index d17f9404a..440203ed0 100644 --- a/builder/vmware/common/driver_esx5.go +++ b/builder/vmware/common/driver_esx5.go @@ -74,7 +74,6 @@ func (d *ESX5Driver) Clone(dst, src string, linked bool) error { } for _, f := range linesToArray(filesToClone) { - log.Printf("Copying file %s\n", f) err := d.sh("cp", f, dstDir) if err != nil { return fmt.Errorf("Failing to copy %s to %s: %s", f, dstDir, err) diff --git a/builder/vmware/common/step_upload_vmx.go b/builder/vmware/common/step_upload_vmx.go index cdf64b56a..d0c7b1043 100644 --- a/builder/vmware/common/step_upload_vmx.go +++ b/builder/vmware/common/step_upload_vmx.go @@ -3,7 +3,6 @@ package common import ( "context" "fmt" - "log" "path/filepath" "github.com/hashicorp/packer/helper/multistep" @@ -33,7 +32,6 @@ func (c *StepUploadVMX) Run(_ context.Context, state multistep.StateBag) multist remoteDriver, ok := driver.(RemoteDriver) if ok { remoteVmxPath := filepath.ToSlash(filepath.Join(fmt.Sprintf("%s", remoteDriver), filepath.Base(vmxPath))) - log.Printf("Uploading VMX file from %s to %s", vmxPath, remoteVmxPath) if err := remoteDriver.upload(remoteVmxPath, vmxPath); err != nil { state.Put("error", fmt.Errorf("Error writing VMX: %s", err)) return multistep.ActionHalt