From eba9834bb15bc0c09fcf8841f8441b11200e0156 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 5 Jul 2013 10:41:54 -0700 Subject: [PATCH] post-processor/vagrant: Extra logging --- post-processor/vagrant/aws.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post-processor/vagrant/aws.go b/post-processor/vagrant/aws.go index 9ca633f16..110954a7e 100644 --- a/post-processor/vagrant/aws.go +++ b/post-processor/vagrant/aws.go @@ -5,6 +5,7 @@ import ( "github.com/mitchellh/mapstructure" "github.com/mitchellh/packer/packer" "io/ioutil" + "log" "os" "path/filepath" "strings" @@ -75,6 +76,7 @@ func (p *AWSBoxPostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact vagrantfileContents := defaultAWSVagrantfile if p.config.VagrantfileTemplate != "" { + log.Printf("Using vagrantfile template: %s", p.config.VagrantfileTemplate) f, err := os.Open(p.config.VagrantfileTemplate) if err != nil { return nil, false, err