github.phpd.cn/hashicorp/packer@v1.3.2/builder/hyperv/common/ssh_config.go (about) 1 package common 2 3 import ( 4 "github.com/hashicorp/packer/helper/communicator" 5 "github.com/hashicorp/packer/template/interpolate" 6 ) 7 8 type SSHConfig struct { 9 Comm communicator.Config `mapstructure:",squash"` 10 } 11 12 func (c *SSHConfig) Prepare(ctx *interpolate.Context) []error { 13 return c.Comm.Prepare(ctx) 14 }