packer-plugin-xenserver/main.go

16 lines
308 B
Go
Raw Normal View History

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