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
8ac03e48
Commit
8ac03e48
authored
Jul 31, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/vmware: compile host_ip on every platform
parent
1286f735
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
builder/vmware/host_ip.go
builder/vmware/host_ip.go
+0
-2
builder/vmware/host_ip_vmnetnatconf.go
builder/vmware/host_ip_vmnetnatconf.go
+3
-1
No files found.
builder/vmware/host_ip.go
View file @
8ac03e48
// +build darwin freebsd linux netbsd openbsd
package
vmware
// Interface to help find the host IP that is available from within
...
...
builder/vmware/host_ip_vmnetnatconf.go
View file @
8ac03e48
...
...
@@ -57,7 +57,9 @@ func (*VMnetNatConfIPFinder) HostIP() (string, error) {
break
}
return
""
,
err
if
err
!=
nil
{
return
""
,
err
}
}
return
""
,
errors
.
New
(
"host IP not found in NAT config"
)
...
...
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