2013-05-24 01:38:40 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
2013-06-01 20:57:26 -04:00
|
|
|
"github.com/mitchellh/packer/provisioner/shell"
|
2013-05-24 01:38:40 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2013-12-10 16:59:38 -05:00
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
server.RegisterProvisioner(new(shell.Provisioner))
|
|
|
|
server.Serve()
|
2013-05-24 01:38:40 -04:00
|
|
|
}
|