packer-cn/main.go

13 lines
201 B
Go

package main
import "github.com/hashicorp/packer/packer/plugin"
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(Builder))
server.Serve()
}