diff --git a/config.go b/config.go index 20954fd87..bf7c5fbbb 100644 --- a/config.go +++ b/config.go @@ -28,6 +28,7 @@ const defaultConfig = ` "openstack": "packer-builder-openstack", "qemu": "packer-builder-qemu", "virtualbox": "packer-builder-virtualbox", + "virtualbox-ovf": "packer-builder-virtualbox-ovf", "vmware": "packer-builder-vmware" }, diff --git a/plugin/builder-virtualbox-ovf/main.go b/plugin/builder-virtualbox-ovf/main.go new file mode 100644 index 000000000..e26825d1e --- /dev/null +++ b/plugin/builder-virtualbox-ovf/main.go @@ -0,0 +1,15 @@ +package main + +import ( + "github.com/mitchellh/packer/builder/virtualbox/ovf" + "github.com/mitchellh/packer/packer/plugin" +) + +func main() { + server, err := plugin.Server() + if err != nil { + panic(err) + } + server.RegisterBuilder(new(ovf.Builder)) + server.Serve() +} diff --git a/plugin/builder-virtualbox-ovf/main_test.go b/plugin/builder-virtualbox-ovf/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-virtualbox-ovf/main_test.go @@ -0,0 +1 @@ +package main