diff --git a/config.go b/config.go index 0748b6716..a2fe49297 100644 --- a/config.go +++ b/config.go @@ -29,7 +29,8 @@ const defaultConfig = ` "qemu": "packer-builder-qemu", "virtualbox-iso": "packer-builder-virtualbox-iso", "virtualbox-ovf": "packer-builder-virtualbox-ovf", - "vmware-iso": "packer-builder-vmware-iso" + "vmware-iso": "packer-builder-vmware-iso", + "vmware-vmx": "packer-builder-vmware-vmx" }, "commands": { diff --git a/plugin/builder-vmware-vmx/main.go b/plugin/builder-vmware-vmx/main.go new file mode 100644 index 000000000..f060f3c56 --- /dev/null +++ b/plugin/builder-vmware-vmx/main.go @@ -0,0 +1,15 @@ +package main + +import ( + "github.com/mitchellh/packer/builder/vmware/vmx" + "github.com/mitchellh/packer/packer/plugin" +) + +func main() { + server, err := plugin.Server() + if err != nil { + panic(err) + } + server.RegisterBuilder(new(vmx.Builder)) + server.Serve() +} diff --git a/plugin/builder-vmware-vmx/main_test.go b/plugin/builder-vmware-vmx/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/plugin/builder-vmware-vmx/main_test.go @@ -0,0 +1 @@ +package main