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

16 lines
271 B
Go
Raw Normal View History

package main
import (
"github.com/mitchellh/packer/builder/digitalocean"
2013-06-15 14:07:30 -04:00
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
2013-12-10 16:59:38 -05:00
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(digitalocean.Builder))
server.Serve()
}