packer-cn/plugin/builder-amazon-chroot/main.go

16 lines
266 B
Go
Raw Normal View History

2013-07-29 19:42:35 -04:00
package main
import (
"github.com/mitchellh/packer/builder/amazon/chroot"
"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(chroot.Builder))
server.Serve()
2013-07-29 19:42:35 -04:00
}