packer: print packers version to the log during startup
This commit is contained in:
parent
e11fbcdad2
commit
1014f4ba96
|
@ -27,6 +27,8 @@ func main() {
|
||||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Printf("Packer Version: %s %s", packer.Version, packer.VersionPrerelease)
|
||||||
|
|
||||||
config, err := loadConfig()
|
config, err := loadConfig()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error loading configuration: \n\n%s\n", err)
|
fmt.Fprintf(os.Stderr, "Error loading configuration: \n\n%s\n", err)
|
||||||
|
|
Loading…
Reference in New Issue