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
5d465c2f
Commit
5d465c2f
authored
Jun 05, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/vmware: comments for stepCreateVMX
parent
eb8278b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
builder/vmware/builder.go
builder/vmware/builder.go
+1
-0
builder/vmware/step_create_vmx.go
builder/vmware/step_create_vmx.go
+8
-0
No files found.
builder/vmware/builder.go
View file @
5d465c2f
...
...
@@ -19,6 +19,7 @@ type config struct {
VMName
string
`mapstructure:"vm_name"`
OutputDir
string
`mapstructure:"output_directory"`
HTTPDir
string
`mapstructure:"http_directory"`
BootCommand
[]
string
`mapstructure:"boot_command"`
}
func
(
b
*
Builder
)
Prepare
(
raw
interface
{})
(
err
error
)
{
...
...
builder/vmware/step_create_vmx.go
View file @
5d465c2f
...
...
@@ -17,6 +17,14 @@ type vmxTemplateData struct {
VNCPort
uint
}
// This step creates the VMX file for the VM.
//
// Uses:
// config *config
// ui packer.Ui
//
// Produces:
// vnc_port uint - The port the VM is configured to listen on for VNC.
type
stepCreateVMX
struct
{}
func
(
stepCreateVMX
)
Run
(
state
map
[
string
]
interface
{})
multistep
.
StepAction
{
...
...
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