2013-06-11 18:12:45 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2013-12-21 17:27:23 -05:00
|
|
|
"github.com/mitchellh/packer/builder/virtualbox/iso"
|
2013-06-11 18:12:45 -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)
|
|
|
|
}
|
2013-12-21 17:27:23 -05:00
|
|
|
server.RegisterBuilder(new(iso.Builder))
|
2013-12-10 16:59:38 -05:00
|
|
|
server.Serve()
|
2013-06-11 18:12:45 -04:00
|
|
|
}
|