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

16 lines
273 B
Go
Raw Normal View History

package main
import (
2013-12-12 18:10:35 -05:00
"github.com/mitchellh/packer/builder/googlecompute"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
2013-12-12 18:10:35 -05:00
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(googlecompute.Builder))
server.Serve()
}