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

16 lines
280 B
Go
Raw Normal View History

2013-11-11 03:56:51 -05:00
package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/post-processor/vsphere"
)
func main() {
2013-12-10 16:59:38 -05:00
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterPostProcessor(new(vsphere.PostProcessor))
server.Serve()
2013-11-11 03:56:51 -05:00
}