removed no longer needed plugin/ dir
with the new sdk version a new rpc server was introduced that seamlessly handles multiple builder types.
This commit is contained in:
parent
5414483285
commit
68ad75e139
@ -1,15 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/hashicorp/packer-plugin-sdk/plugin"
|
|
||||||
"github.com/xenserver/packer-builder-xenserver/builder/xenserver/iso"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
server, err := plugin.Server()
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
server.RegisterBuilder(new(iso.Builder))
|
|
||||||
server.Serve()
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/hashicorp/packer-plugin-sdk/plugin"
|
|
||||||
"github.com/xenserver/packer-builder-xenserver/builder/xenserver/xva"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
server, err := plugin.Server()
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
server.RegisterBuilder(new(xva.Builder))
|
|
||||||
server.Serve()
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user