packer-plugin-xenserver/main.go
Rob Dobson 56820d268c Adding initial barebones for the xenserver packer plugin.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2014-11-05 09:35:34 +00:00

16 lines
308 B
Go

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