packer: print packers version to the log during startup

This commit is contained in:
Jack Pearkes 2013-07-01 16:37:03 +02:00
parent e11fbcdad2
commit 1014f4ba96
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)