vbox builders now need to explicitly set WinRMPort for StepConnect
Aligns vbox builders with changes to helper/communicator/step_connect.go introduced by PR #2576 Fixes #4310
This commit is contained in:
parent
f6fe8e8755
commit
686ec1866e
|
@ -242,6 +242,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
Host: vboxcommon.CommHost(b.config.SSHConfig.Comm.SSHHost),
|
Host: vboxcommon.CommHost(b.config.SSHConfig.Comm.SSHHost),
|
||||||
SSHConfig: vboxcommon.SSHConfigFunc(b.config.SSHConfig),
|
SSHConfig: vboxcommon.SSHConfigFunc(b.config.SSHConfig),
|
||||||
SSHPort: vboxcommon.SSHPort,
|
SSHPort: vboxcommon.SSHPort,
|
||||||
|
WinRMPort: vboxcommon.SSHPort,
|
||||||
},
|
},
|
||||||
&vboxcommon.StepUploadVersion{
|
&vboxcommon.StepUploadVersion{
|
||||||
Path: b.config.VBoxVersionFile,
|
Path: b.config.VBoxVersionFile,
|
||||||
|
|
|
@ -116,6 +116,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
Host: vboxcommon.CommHost(b.config.SSHConfig.Comm.SSHHost),
|
Host: vboxcommon.CommHost(b.config.SSHConfig.Comm.SSHHost),
|
||||||
SSHConfig: vboxcommon.SSHConfigFunc(b.config.SSHConfig),
|
SSHConfig: vboxcommon.SSHConfigFunc(b.config.SSHConfig),
|
||||||
SSHPort: vboxcommon.SSHPort,
|
SSHPort: vboxcommon.SSHPort,
|
||||||
|
WinRMPort: vboxcommon.SSHPort,
|
||||||
},
|
},
|
||||||
&vboxcommon.StepUploadVersion{
|
&vboxcommon.StepUploadVersion{
|
||||||
Path: b.config.VBoxVersionFile,
|
Path: b.config.VBoxVersionFile,
|
||||||
|
|
Loading…
Reference in New Issue