refactor: change ssh host to osc ssh host

This commit is contained in:
Marin Salinas 2020-09-11 12:11:52 -05:00
parent 645e5afa36
commit abdb4bcfbf
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
}, },
&communicator.StepConnect{ &communicator.StepConnect{
Config: &b.config.RunConfig.Comm, Config: &b.config.RunConfig.Comm,
Host: osccommon.SSHHost( Host: osccommon.OscSSHHost(
oapiconn, oscConn.VmApi,
b.config.SSHInterface), b.config.SSHInterface),
SSHConfig: b.config.RunConfig.Comm.SSHConfigFunc(), SSHConfig: b.config.RunConfig.Comm.SSHConfigFunc(),
}, },