|
|
|
|
@ -99,7 +99,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
|
|
|
|
|
},
|
|
|
|
|
&communicator.StepConnect{
|
|
|
|
|
Config: &b.config.Comm,
|
|
|
|
|
Host: ocommon.CommHost(b.config.Comm.SSHHost),
|
|
|
|
|
Host: communicator.CommHost(b.config.Comm.SSHHost, "instance_ip"),
|
|
|
|
|
SSHConfig: b.config.Comm.SSHConfigFunc(),
|
|
|
|
|
},
|
|
|
|
|
&common.StepProvision{},
|
|
|
|
|
@ -162,7 +162,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
|
|
|
|
|
&stepCreateInstance{},
|
|
|
|
|
&communicator.StepConnect{
|
|
|
|
|
Config: &b.config.Comm,
|
|
|
|
|
Host: ocommon.CommHost(b.config.Comm.SSHHost),
|
|
|
|
|
Host: communicator.CommHost(b.config.Comm.SSHHost, "instance_ip"),
|
|
|
|
|
SSHConfig: b.config.Comm.SSHConfigFunc(),
|
|
|
|
|
},
|
|
|
|
|
&common.StepProvision{},
|
|
|
|
|
|