You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extends the `vsphere-clone` builder to support using remote OVF and OVA files as clone sources, in addition to the current support for standard virtual machine templates. Remote OVF/OVA support enables users to deploy virtual machines directly from OVF/OVA files accessible via HTTP/HTTPS URLs using vSphere's native OVF Manager capabilities available in the `vmware/govmomi` SDK.
Signed-off-by: Ryan Johnson <ryan@tenthirtyam.otg>
Copy file name to clipboardExpand all lines: .web-docs/components/builder/vsphere-clone/README.md
+57-1Lines changed: 57 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,12 @@ references, which are necessary for a build to succeed and can be found further
61
61
62
62
-`template` (string) - The name of the source virtual machine to clone.
63
63
64
+
-`remote_source` (\*RemoteSourceConfig) - Configuration for cloning from a remote OVF/OVA source.
65
+
Cannot be used together with `template`.
66
+
67
+
For more information, refer to the [Remote Source Configuration](/packer/integrations/hashicorp/vmware/latest/components/builder/vsphere-clone#remote-source-configuration)
68
+
section.
69
+
64
70
-`disk_size` (int64) - The size of the primary disk in MiB. Cannot be used with `linked_clone`.
65
71
-> **Note:** Only the primary disk size can be specified. Additional
66
72
disks are not supported.
@@ -114,6 +120,49 @@ references, which are necessary for a build to succeed and can be found further
114
120
<!-- End of code generated from the comments of the StorageConfig struct in builder/vsphere/common/storage_config.go; -->
115
121
116
122
123
+
### Remote Source Configuration
124
+
125
+
**Optional:**
126
+
127
+
<!-- Code generated from the comments of the RemoteSourceConfig struct in builder/vsphere/clone/step_clone.go; DO NOT EDIT MANUALLY -->
128
+
129
+
-`url` (string) - The URL of the remote OVF/OVA file. Supports HTTP and HTTPS protocols.
130
+
131
+
-`username` (string) - The username for basic authentication when accessing the remote OVF/OVA file.
132
+
Must be used together with `password`.
133
+
134
+
-`password` (string) - The password for basic authentication when accessing the remote OVF/OVA file.
135
+
Must be used together with `username`.
136
+
137
+
-`skip_tls_verify` (bool) - Do not validate the certificate when accessing HTTPS URLs.
138
+
Defaults to `false`.
139
+
140
+
-> **Note:** This option is beneficial in scenarios where the certificate
141
+
is self-signed or does not meet standard validation criteria.
0 commit comments