2014-11-05 03:35:34 -06:00
|
|
|
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"
|
2014-11-05 03:35:34 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
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()
|
2014-11-05 03:35:34 -06:00
|
|
|
}
|