plugin: add the plugin

This commit is contained in:
Mitchell Hashimoto 2015-06-19 15:31:40 -07:00
parent d5c0f13d8f
commit a0b6928dce

View file

@ -0,0 +1,15 @@
package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/provisioner/shell-local"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterProvisioner(new(shell.Provisioner))
server.Serve()
}