15 lines
321 B
Go
15 lines
321 B
Go
package common
|
|
|
|
import (
|
|
"github.com/hashicorp/packer/helper/communicator"
|
|
"github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
|
|
)
|
|
|
|
type SSHConfig struct {
|
|
Comm communicator.Config `mapstructure:",squash"`
|
|
}
|
|
|
|
func (c *SSHConfig) Prepare(ctx *interpolate.Context) []error {
|
|
return c.Comm.Prepare(ctx)
|
|
}
|