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

16 lines
271 B
Go

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