2015-06-21 07:36:07 -04:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2017-04-04 16:39:01 -04:00
|
|
|
"github.com/hashicorp/packer/helper/communicator"
|
2020-11-11 13:21:37 -05:00
|
|
|
"github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
|
2015-06-21 07:36:07 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
type SSHConfig struct {
|
|
|
|
Comm communicator.Config `mapstructure:",squash"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *SSHConfig) Prepare(ctx *interpolate.Context) []error {
|
|
|
|
return c.Comm.Prepare(ctx)
|
|
|
|
}
|