Add vmware-vmx plugin
This commit is contained in:
parent
8fecdf179d
commit
b994b8c09e
|
@ -29,7 +29,8 @@ const defaultConfig = `
|
||||||
"qemu": "packer-builder-qemu",
|
"qemu": "packer-builder-qemu",
|
||||||
"virtualbox-iso": "packer-builder-virtualbox-iso",
|
"virtualbox-iso": "packer-builder-virtualbox-iso",
|
||||||
"virtualbox-ovf": "packer-builder-virtualbox-ovf",
|
"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": {
|
"commands": {
|
||||||
|
|
|
@ -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()
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
package main
|
Loading…
Reference in New Issue