packer-cn/plugin/builder-null/main.go

16 lines
255 B
Go

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