Switch to using a combination of the GetVNCPort step and the ForwardPortOverSSH step.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
This commit is contained in:
parent
16a8be4fb0
commit
269ec2f3c9
@ -343,7 +343,14 @@ func (self *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (pa
|
||||
// new(stepUploadIso),
|
||||
new(stepCreateInstance),
|
||||
new(stepStartVmPaused),
|
||||
new(stepForwardVncPortOverSsh),
|
||||
new(stepGetVNCPort),
|
||||
&stepForwardPortOverSSH{
|
||||
RemotePort: instanceVNCPort,
|
||||
RemoteDest: instanceVNCIP,
|
||||
HostPortMin: self.config.HostPortMin,
|
||||
HostPortMax: self.config.HostPortMax,
|
||||
ResultKey: "local_vnc_port",
|
||||
},
|
||||
new(stepBootWait),
|
||||
new(stepTypeBootCommand),
|
||||
new(stepWait),
|
||||
|
Loading…
Reference in New Issue
Block a user