Merge pull request #88 from mitchellh/debug-version

Log Packer Version to Debug
This commit is contained in:
Mitchell Hashimoto 2013-07-01 08:53:16 -07:00
commit 5425aecaae
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
}
log.Printf("Packer Version: %s %s", packer.Version, packer.VersionPrerelease)
config, err := loadConfig()
if err != nil {
fmt.Fprintf(os.Stderr, "Error loading configuration: \n\n%s\n", err)