Remove some extra logging.

This commit is contained in:
Alexander Laamanen 2017-02-24 16:05:57 +02:00 committed by Megan Marsh
parent e7e6a80587
commit f42f5a8ad3
2 changed files with 0 additions and 3 deletions

View File

@ -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)

View File

@ -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