builder/virtualbox: add the ssh host port to state
This commit is contained in:
parent
ad1c59f34e
commit
70df8c8c8b
|
@ -49,6 +49,9 @@ func (s *stepForwardSSH) Run(state map[string]interface{}) multistep.StepAction
|
|||
return multistep.ActionHalt
|
||||
}
|
||||
|
||||
// Save the port we're using so that future steps can use it
|
||||
state["sshHostPort"] = sshHostPort
|
||||
|
||||
time.Sleep(15 * time.Second)
|
||||
return multistep.ActionContinue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue