packer: prints packers OS and architecture to the log during startup

This commit is contained in:
Jack Pearkes 2013-07-01 18:34:43 +02:00
parent 5425aecaae
commit dac59bf50e
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ func main() {
} }
log.Printf("Packer Version: %s %s", packer.Version, packer.VersionPrerelease) log.Printf("Packer Version: %s %s", packer.Version, packer.VersionPrerelease)
log.Printf("Packer Target OS/Arch: %s %s", runtime.GOOS, runtime.GOARCH)
config, err := loadConfig() config, err := loadConfig()
if err != nil { if err != nil {