mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-26 19:41:06 -05:00
16 lines
260 B
Go
16 lines
260 B
Go
|
|
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()
|
||
|
|
}
|