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

15 lines
321 B
Go
Raw Normal View History

package common
import (
2017-04-04 16:39:01 -04:00
"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)
}