packer-cn/plugin/builder-vmware-iso/main.go

16 lines
260 B
Go

package main
import (
"github.com/mitchellh/packer/builder/vmware/iso"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(iso.Builder))
server.Serve()
}