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
ae8bffcd
Commit
ae8bffcd
authored
Jan 01, 2014
by
Matthew McKeen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/mitchellh/packer
into docker-metadata
parents
8bdb7232
3a1908bb
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
244 additions
and
231 deletions
+244
-231
CHANGELOG.md
CHANGELOG.md
+1
-0
builder/vmware/iso/driver_esx5.go
builder/vmware/iso/driver_esx5.go
+8
-0
builder/vmware/iso/driver_esx5_test.go
builder/vmware/iso/driver_esx5_test.go
+4
-0
packer/rpc/muxconn.go
packer/rpc/muxconn.go
+231
-231
No files found.
CHANGELOG.md
View file @
ae8bffcd
...
...
@@ -4,6 +4,7 @@ BUG FIXES:
*
core: If a stream ID loops around, don't let it use stream ID 0 [GH-767]
*
builders/virtualbox-ovf:
`shutdown_timeout`
config works. [GH-772]
*
builders/vmware-iso: Remote driver works properly again. [GH-773]
## 0.5.0 (12/30/2013)
...
...
builder/vmware/iso/driver_esx5.go
View file @
ae8bffcd
...
...
@@ -214,6 +214,10 @@ func (d *ESX5Driver) SSHAddress(state multistep.StateBag) (string, error) {
return
address
,
nil
}
//-------------------------------------------------------------------
// OutputDir implementation
//-------------------------------------------------------------------
func
(
d
*
ESX5Driver
)
DirExists
()
(
bool
,
error
)
{
err
:=
d
.
sh
(
"test"
,
"-e"
,
d
.
outputDir
)
return
err
==
nil
,
nil
...
...
@@ -258,6 +262,10 @@ func (d *ESX5Driver) SetOutputDir(path string) {
d
.
outputDir
=
d
.
datastorePath
(
path
)
}
func
(
d
*
ESX5Driver
)
String
()
string
{
return
d
.
outputDir
}
func
(
d
*
ESX5Driver
)
datastorePath
(
path
string
)
string
{
return
filepath
.
Join
(
"/vmfs/volumes"
,
d
.
Datastore
,
path
)
}
...
...
builder/vmware/iso/driver_esx5_test.go
View file @
ae8bffcd
...
...
@@ -9,6 +9,10 @@ func TestESX5Driver_implDriver(t *testing.T) {
var
_
vmwcommon
.
Driver
=
new
(
ESX5Driver
)
}
func
TestESX5Driver_implOutputDir
(
t
*
testing
.
T
)
{
var
_
vmwcommon
.
OutputDir
=
new
(
ESX5Driver
)
}
func
TestESX5Driver_implRemoteDriver
(
t
*
testing
.
T
)
{
var
_
RemoteDriver
=
new
(
ESX5Driver
)
}
packer/rpc/muxconn.go
View file @
ae8bffcd
This diff is collapsed.
Click to expand it.
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