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