mirror of https://github.com/hashicorp/packer
parent
cc1130962b
commit
0b40251a29
@ -1,10 +1,15 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/kelseyhightower/packer-builder-googlecompute/builder/googlecompute"
|
"github.com/mitchellh/packer/builder/googlecompute"
|
||||||
"github.com/mitchellh/packer/packer/plugin"
|
"github.com/mitchellh/packer/packer/plugin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
plugin.ServeBuilder(new(googlecompute.Builder))
|
server, err := plugin.Server()
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
server.RegisterBuilder(new(googlecompute.Builder))
|
||||||
|
server.Serve()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in new issue