diff --git a/.gitignore b/.gitignore index dc6fad028..5e56e040e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/packer +/bin diff --git a/example.json b/example.json new file mode 100644 index 000000000..71f0d8e45 --- /dev/null +++ b/example.json @@ -0,0 +1,9 @@ +{ + "name": "ubuntu-12.04.2-server-amd64", + + "builders": [ + "virtualbox": { + "os_type": "Ubuntu_64", + } + ] +} diff --git a/packer.go b/src/packer/bin-packer/main.go similarity index 68% rename from packer.go rename to src/packer/bin-packer/main.go index eecbddd7a..03a78cb50 100644 --- a/packer.go +++ b/src/packer/bin-packer/main.go @@ -1,8 +1,12 @@ // This is the main package for the `packer` application. package main -import "fmt" +import ( + "fmt" + "os" +) func main() { + fmt.Printf("%#v\n", os.Args) fmt.Println("Hello, world.") }