Skip to content

Commit

Permalink
Added remote options to vmware-vmx
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosueiras committed Dec 8, 2018
1 parent ecff6cf commit f3b62bc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packer/builders/vmwarevmx.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ func VMWareVMXResource() *schema.Resource {
Type: schema.TypeList,
Elem: communicators.SSHCommunicatorResource(),
},
"keep_registered": &schema.Schema{
Optional: true,
Type: schema.TypeBool,
Description: "Set this to true if you would like to keep the VM registered with the remote ESXi server. This is convenient if you use packer to provision VMs on ESXi and don't want to use ovftool to deploy the resulting artifact (VMX or OVA or whatever you used as format). Defaults to false.",
},
"skip_export": &schema.Schema{
Optional: true,
Type: schema.TypeBool,
Description: "Defaults to false. When enabled, Packer will not export the VM. Useful if the build output is not the resultant image, but created inside the VM",
},

"winrm": &schema.Schema{
Optional: true,
Type: schema.TypeList,
Expand Down

0 comments on commit f3b62bc

Please sign in to comment.