Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
d9fceaf3
Commit
d9fceaf3
authored
Jun 18, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update CHANGELOG
parent
25533336
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
CHANGELOG.md
CHANGELOG.md
+2
-0
builder/virtualbox/common/step_forward_ssh.go
builder/virtualbox/common/step_forward_ssh.go
+3
-3
No files found.
CHANGELOG.md
View file @
d9fceaf3
...
...
@@ -118,6 +118,7 @@ BUG FIXES:
to retrieve the SSH IP from. [GH-2220]
*
builder/qemu: Add
`disk_discard`
option [GH-2120]
*
builder/qemu: Use proper SSH port, not hardcoded to 22. [GH-2236]
*
builder/qemu: Find unused SSH port if SSH port is taken. [GH-2032]
*
builder/virtualbox: Bind HTTP server to IPv4, which is more compatible with
OS installers. [GH-1709]
*
builder/virtualbox: Remove the floppy controller in addition to the
...
...
@@ -126,6 +127,7 @@ BUG FIXES:
".iso" extension didn't work. [GH-1839]
*
builder/virtualbox: Output dir is verified at runtime, not template
validation time. [GH-2233]
*
builder/virtualbox: Find unused SSH port if SSH port is taken. [GH-2032]
*
builder/vmware: Add 100ms delay between keystrokes to avoid subtle
timing issues in most cases. [GH-1663]
*
builder/vmware: Bind HTTP server to IPv4, which is more compatible with
...
...
builder/virtualbox/common/step_forward_ssh.go
View file @
d9fceaf3
...
...
@@ -46,10 +46,10 @@ func (s *StepForwardSSH) Run(state multistep.StateBag) multistep.StepAction {
}
for
{
sshHostPort
=
offset
+
s
.
HostPortMin
if
sshHostPort
>=
s
.
HostPortMax
{
sshHostPort
=
offset
+
int
(
s
.
HostPortMin
)
if
sshHostPort
>=
int
(
s
.
HostPortMax
)
{
offset
=
0
sshHostPort
=
s
.
HostPortMin
sshHostPort
=
int
(
s
.
HostPortMin
)
}
log
.
Printf
(
"Trying port: %d"
,
sshHostPort
)
l
,
err
:=
net
.
Listen
(
"tcp"
,
fmt
.
Sprintf
(
"127.0.0.1:%d"
,
sshHostPort
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment