From a0b6928dceb22395074ba80f4c1eb7df9bf359fc Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 19 Jun 2015 15:31:40 -0700 Subject: [PATCH] plugin: add the plugin --- plugin/provisioner-shell-local/main.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugin/provisioner-shell-local/main.go diff --git a/plugin/provisioner-shell-local/main.go b/plugin/provisioner-shell-local/main.go new file mode 100644 index 000000000..4f46a3ed3 --- /dev/null +++ b/plugin/provisioner-shell-local/main.go @@ -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() +}