Commit 5d465c2f authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware: comments for stepCreateVMX

parent eb8278b2
......@@ -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) {
......
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment