packer-cn/plugin/post-processor-shell-local/main.go

16 lines
288 B
Go
Raw Normal View History

package main
import (
"github.com/mitchellh/packer/packer/plugin"
2016-02-08 20:34:06 -05:00
"github.com/mitchellh/packer/post-processor/shell-local"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterPostProcessor(new(shell_local.PostProcessor))
server.Serve()
}