Compiles -- but xva create_instance is incomplete Several changes were rolled into this commit, including: - "export_format" is now "format", and "keep_instance" is "keep_vm" - gox is used for building (with the intention of allowing cross-compilation in the future)
16 lines
279 B
Go
16 lines
279 B
Go
package main
|
|
|
|
import (
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
"github.com/rdobson/packer-builder-xenserver/builder/xenserver/xva"
|
|
)
|
|
|
|
func main() {
|
|
server, err := plugin.Server()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
server.RegisterBuilder(new(xva.Builder))
|
|
server.Serve()
|
|
}
|