packer-cn/builder/hyperv/common/ssh_config.go

15 lines
318 B
Go
Raw Normal View History

package common
import (
2020-12-17 16:29:25 -05:00
"github.com/hashicorp/packer-plugin-sdk/communicator"
"github.com/hashicorp/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)
}