builder/vmware: comments for stepCreateVMX
This commit is contained in:
parent
eb8278b21c
commit
5d465c2ff3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue