packer-cn/plugin/post-processor-vagrant-cloud/main.go

16 lines
291 B
Go
Raw Normal View History

package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/post-processor/vagrant-cloud"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterPostProcessor(new(vagrantcloud.PostProcessor))
server.Serve()
}