packer-plugin-xenserver/main.go
2014-12-08 15:36:38 +00:00

16 lines
281 B
Go

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()
}