16 lines
279 B
Go
16 lines
279 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/mitchellh/packer/packer/plugin"
|
||
|
"github.com/mitchellh/packer/provisioner/powershell"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
server, err := plugin.Server()
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
server.RegisterProvisioner(new(powershell.Provisioner))
|
||
|
server.Serve()
|
||
|
}
|