@@ -35,6 +35,40 @@ in the image's Cloud-Init settings for provisioning.
35
35
36
36
### Required:
37
37
38
+ <!-- Code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
39
+
40
+ One or more ISO files attached to the virtual machine.
41
+
42
+ JSON Example:
43
+
44
+ ``` json
45
+
46
+ "isos" : [
47
+ {
48
+ "type" : " scsi" ,
49
+ "iso_file" : " local:iso/virtio-win-0.1.185.iso" ,
50
+ "unmount" : true ,
51
+ "iso_checksum" : " af2b3cc9fa7905dea5e58d31508d75bba717c2b0d5553962658a47aebc9cc386"
52
+ }
53
+ ]
54
+
55
+ ```
56
+ HCL2 example:
57
+
58
+ ``` hcl
59
+
60
+ isos {
61
+ type = "scsi"
62
+ iso_file = "local:iso/virtio-win-0.1.185.iso"
63
+ unmount = true
64
+ iso_checksum = "af2b3cc9fa7905dea5e58d31508d75bba717c2b0d5553962658a47aebc9cc386"
65
+ }
66
+
67
+ ```
68
+
69
+ <!-- End of code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; -->
70
+
71
+
38
72
<!-- Code generated from the comments of the ISOConfig struct in multistep/commonsteps/iso_config.go; DO NOT EDIT MANUALLY -->
39
73
40
74
- ` iso_checksum ` (string) - The checksum for the ISO file or virtual hard drive file. The type of
@@ -64,6 +98,8 @@ in the image's Cloud-Init settings for provisioning.
64
98
<!-- End of code generated from the comments of the ISOConfig struct in multistep/commonsteps/iso_config.go; -->
65
99
66
100
101
+ See also [ ISO Files] ( #iso-files ) .
102
+
67
103
### Optional:
68
104
69
105
<!-- Code generated from the comments of the Config struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
@@ -202,8 +238,8 @@ in the image's Cloud-Init settings for provisioning.
202
238
- `cloud_init_disk_type` (string) - The type of Cloud-Init disk. Can be `scsi`, `sata`, or `ide`
203
239
Defaults to `ide`.
204
240
205
- - `additional_iso_files ` ([]additionalISOsConfig ) - Additional ISO files attached to the virtual machine.
206
- See [Additional ISO Files](#additional- iso-files).
241
+ - `isos ` ([]ISOsConfig ) - ISO files attached to the virtual machine.
242
+ See [ISO Files](#iso-files).
207
243
208
244
- `vm_interface` (string) - Name of the network interface that Packer gets
209
245
the VMs IP from. Defaults to the first non loopback interface.
@@ -217,29 +253,6 @@ in the image's Cloud-Init settings for provisioning.
217
253
218
254
<!-- Code generated from the comments of the Config struct in builder/proxmox/iso/config.go; DO NOT EDIT MANUALLY -->
219
255
220
- - `iso_file` (string) - Path to the ISO file to boot from, expressed as a
221
- proxmox datastore path, for example
222
- `local:iso/Fedora-Server-dvd-x86_64-29-1.2.iso`.
223
- Either `iso_file` OR `iso_url` must be specifed.
224
-
225
- - `iso_device` (string) - Bus type and bus index that the ISO will be mounted on. Can be `ideX`,
226
- `sataX` or `scsiX`.
227
- For `ide` the bus index ranges from 0 to 3, for `sata` from 0 to 5 and for
228
- `scsi` from 0 to 30.
229
- Defaults to `ide2`
230
-
231
- - `iso_storage_pool` (string) - Proxmox storage pool onto which to upload
232
- the ISO file.
233
-
234
- - `iso_download_pve` (bool) - Download the ISO directly from the PVE node rather than through Packer.
235
-
236
- Defaults to `false`
237
-
238
- - `unmount_iso` (bool) - If true, remove the mounted ISO from the template
239
- after finishing. Defaults to `false`.
240
-
241
- - `keep_cdrom_device` (bool) - Keep CDRom device attached to template if unmounting ISO. Defaults to `false`.
242
- Has no effect if unmount is `false`
243
256
244
257
<!-- End of code generated from the comments of the Config struct in builder/proxmox/iso/config.go; -->
245
258
@@ -261,28 +274,40 @@ in the image's Cloud-Init settings for provisioning.
261
274
<!-- End of code generated from the comments of the ISOConfig struct in multistep/commonsteps/iso_config.go; -->
262
275
263
276
264
- ### Additional ISO Files
277
+ ### ISO Files
265
278
266
- <!-- Code generated from the comments of the additionalISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
279
+ <!-- Code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
267
280
268
- Additional ISO files attached to the virtual machine.
281
+ One or more ISO files attached to the virtual machine.
269
282
270
- Example:
283
+ JSON Example:
271
284
272
285
```json
273
- [
274
286
275
- {
276
- "device" : " scsi5" ,
277
- "iso_file" : " local:iso/virtio-win-0.1.185.iso" ,
278
- "unmount" : true ,
279
- "iso_checksum" : " af2b3cc9fa7905dea5e58d31508d75bba717c2b0d5553962658a47aebc9cc386"
287
+ "isos" : [
288
+ {
289
+ "type" : " scsi" ,
290
+ "iso_file" : " local:iso/virtio-win-0.1.185.iso" ,
291
+ "unmount" : true ,
292
+ "iso_checksum" : " af2b3cc9fa7905dea5e58d31508d75bba717c2b0d5553962658a47aebc9cc386"
293
+ }
294
+ ]
295
+
296
+ ```
297
+ HCL2 example:
298
+
299
+ ``` hcl
300
+
301
+ isos {
302
+ type = "scsi"
303
+ iso_file = "local:iso/virtio-win-0.1.185.iso"
304
+ unmount = true
305
+ iso_checksum = "af2b3cc9fa7905dea5e58d31508d75bba717c2b0d5553962658a47aebc9cc386"
280
306
}
281
307
282
- ]
283
308
```
284
309
285
- <!-- End of code generated from the comments of the additionalISOsConfig struct in builder/proxmox/common/config.go; -->
310
+ <!-- End of code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; -->
286
311
287
312
288
313
<!-- Code generated from the comments of the ISOConfig struct in multistep/commonsteps/iso_config.go; DO NOT EDIT MANUALLY -->
@@ -417,20 +442,18 @@ In HCL2:
417
442
<!-- End of code generated from the comments of the ISOConfig struct in multistep/commonsteps/iso_config.go; -->
418
443
419
444
420
- <!-- Code generated from the comments of the additionalISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
445
+ <!-- Code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
421
446
422
- - ` device ` (string) - Bus type and bus index that the ISO will be mounted on. Can be ` ideX ` ,
423
- ` sataX ` or ` scsiX ` .
424
- For ` ide ` the bus index ranges from 0 to 3, for ` sata ` from 0 to 5 and for
425
- ` scsi ` from 0 to 30.
426
- Defaults to ` ide3 ` since ` ide2 ` is generally the boot drive.
447
+ - ` type ` (string) - Bus type and bus index that the ISO will be mounted on. Can be ` ide ` ,
448
+ ` sata ` or ` scsi ` .
449
+ Defaults to ` ide ` .
427
450
428
451
- ` iso_file ` (string) - Path to the ISO file to boot from, expressed as a
429
452
proxmox datastore path, for example
430
453
` local:iso/Fedora-Server-dvd-x86_64-29-1.2.iso ` .
431
454
Either ` iso_file ` OR ` iso_url ` must be specifed.
432
455
433
- - ` iso_storage_pool ` (string) - Proxmox storage pool onto which to upload
456
+ - ` storage_pool ` (string) - Proxmox storage pool onto which to upload
434
457
the ISO file.
435
458
436
459
- ` iso_download_pve ` (bool) - Download the ISO directly from the PVE node rather than through Packer.
@@ -442,7 +465,7 @@ In HCL2:
442
465
- ` keep_cdrom_device ` (bool) - Keep CDRom device attached to template if unmounting ISO. Defaults to ` false ` .
443
466
Has no effect if unmount is ` false `
444
467
445
- <!-- End of code generated from the comments of the additionalISOsConfig struct in builder/proxmox/common/config.go; -->
468
+ <!-- End of code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; -->
446
469
447
470
448
471
<!-- Code generated from the comments of the CDConfig struct in multistep/commonsteps/extra_iso_config.go; DO NOT EDIT MANUALLY -->
0 commit comments