Commit 2ccc5e80 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware: log when writing a VMX

parent b2287239
...@@ -4,6 +4,7 @@ import ( ...@@ -4,6 +4,7 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"io" "io"
"log"
"os" "os"
"regexp" "regexp"
"sort" "sort"
...@@ -51,6 +52,7 @@ func EncodeVMX(contents map[string]string) string { ...@@ -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 // WriteVMX takes a path to a VMX file and contents in the form of a
// map and writes it out. // map and writes it out.
func WriteVMX(path string, data map[string]string) (err error) { func WriteVMX(path string, data map[string]string) (err error) {
log.Printf("Writing VMX to: %s", path)
f, err := os.Create(path) f, err := os.Create(path)
if err != nil { if err != nil {
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment