builder/vmware: log when writing a VMX

pull/919/head
Mitchell Hashimoto 13 years ago
parent b228723903
commit 2ccc5e80c7

@ -4,6 +4,7 @@ import (
"bytes"
"fmt"
"io"
"log"
"os"
"regexp"
"sort"
@ -51,6 +52,7 @@ func EncodeVMX(contents map[string]string) string {
// WriteVMX takes a path to a VMX file and contents in the form of a
// map and writes it out.
func WriteVMX(path string, data map[string]string) (err error) {
log.Printf("Writing VMX to: %s", path)
f, err := os.Create(path)
if err != nil {
return

Loading…
Cancel
Save