packer-cn/plugin/post-processor-atlas/main.go

16 lines
276 B
Go
Raw Normal View History

2014-12-09 18:00:03 -05:00
package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/post-processor/atlas"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterPostProcessor(new(atlas.PostProcessor))
server.Serve()
}