packer-plugin-xenserver/main.go

16 lines
281 B
Go
Raw Normal View History

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