{"modulePath":"github.com/stackpointcloud/packer","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package vmx\n\n## Types\n\n```go\ntype Builder struct {\n\t// contains filtered or unexported fields\n}\n```\nBuilder implements packer.Builder and builds the actual VMware images.\n\n```go\nfunc (b *Builder) Cancel()\n```\nCancel.\n\n```go\nfunc (b *Builder) Prepare(raws ...interface{}) ([]string, error)\n```\nPrepare processes the build configuration parameters.\n\n```go\nfunc (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error)\n```\nRun executes a Packer build and returns a packer.Artifact representing a VirtualBox appliance.\n\n```go\ntype Config struct {\n\tcommon.PackerConfig      `mapstructure:\",squash\"`\n\tcommon.HTTPConfig        `mapstructure:\",squash\"`\n\tvmwcommon.DriverConfig   `mapstructure:\",squash\"`\n\tvmwcommon.OutputConfig   `mapstructure:\",squash\"`\n\tvmwcommon.RunConfig      `mapstructure:\",squash\"`\n\tvmwcommon.ShutdownConfig `mapstructure:\",squash\"`\n\tvmwcommon.SSHConfig      `mapstructure:\",squash\"`\n\tvmwcommon.ToolsConfig    `mapstructure:\",squash\"`\n\tvmwcommon.VMXConfig      `mapstructure:\",squash\"`\n\n\tBootCommand    []string `mapstructure:\"boot_command\"`\n\tFloppyFiles    []string `mapstructure:\"floppy_files\"`\n\tRemoteType     string   `mapstructure:\"remote_type\"`\n\tSkipCompaction bool     `mapstructure:\"skip_compaction\"`\n\tSourcePath     string   `mapstructure:\"source_path\"`\n\tVMName         string   `mapstructure:\"vm_name\"`\n\t// contains filtered or unexported fields\n}\n```\nConfig is the configuration structure for the builder.\n\n```go\nfunc NewConfig(raws ...interface{}) (*Config, []string, error)\n```\n\n```go\ntype StepCloneVMX struct {\n\tOutputDir string\n\tPath      string\n\tVMName    string\n}\n```\nStepCloneVMX takes a VMX file and clones the VM into the output directory.\n\n```go\nfunc (s *StepCloneVMX) Cleanup(state multistep.StateBag)\n```\n\n```go\nfunc (s *StepCloneVMX) Run(state multistep.StateBag) multistep.StepAction\n```\n\n","path":"github.com/stackpointcloud/packer/builder/vmware/vmx","name":"vmx","synopsis":"","isRedistributable":true}
