16 lines
308 B
Go
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()
|
||
|
}
|