builder/virtualbox: add the ssh host port to state

pull/15/head
Mitchell Hashimoto 13 years ago
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…
Cancel
Save