2013-09-02 23:23:52 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/packer/builder/qemu"
|
|
|
|
"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(qemu.Builder))
|
|
|
|
server.Serve()
|
2013-09-02 23:23:52 -04:00
|
|
|
}
|