mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-20 15:01:40 -04:00
Get packer building again
This commit is contained in:
@@ -3,14 +3,12 @@ package main
|
||||
|
||||
import (
|
||||
"github.com/mitchellh/packer/packer"
|
||||
"github.com/mitchellh/packer/command/build"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
envConfig := packer.DefaultEnvironmentConfig()
|
||||
envConfig.Command["build"] = new(build.Command)
|
||||
|
||||
env, err := packer.NewEnvironment(envConfig)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user