packer-cn/plugin/builder-openstack/main.go

16 lines
265 B
Go

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