File tree Expand file tree Collapse file tree 4 files changed +24
-12
lines changed
.web-docs/components/builder
docs-partials/builder/proxmox/common Expand file tree Collapse file tree 4 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -668,9 +668,12 @@ In HCL2:
668
668
669
669
<!-- Code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
670
670
671
- - ` type ` (string) - Bus type and bus index that the ISO will be mounted on. Can be ` ide ` ,
672
- ` sata ` or ` scsi ` .
673
- Defaults to ` ide ` .
671
+ - ` type ` (string) - Bus type that the ISO will be mounted on. Can be ` ide ` , ` sata ` or ` scsi ` . Defaults to ` ide ` .
672
+
673
+ In v1.9 bus indexes are no longer accepted for ISOs. ISOs are now attached to VMs in the order
674
+ they are configured, using free bus indexes after disks are attached.
675
+ Example: if two Disks and one ISO are defined as type ` sata ` , the disks will be attached to the VM
676
+ as ` sata0 ` , ` sata1 ` , and the ISO will be mapped to ` sata2 ` (the next free device index)
674
677
675
678
- ` iso_file ` (string) - Path to the ISO file to boot from, expressed as a
676
679
proxmox datastore path, for example
Original file line number Diff line number Diff line change @@ -331,9 +331,12 @@ HCL2 example:
331
331
332
332
<!-- Code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
333
333
334
- - ` type ` (string) - Bus type and bus index that the ISO will be mounted on. Can be ` ide ` ,
335
- ` sata ` or ` scsi ` .
336
- Defaults to ` ide ` .
334
+ - ` type ` (string) - Bus type that the ISO will be mounted on. Can be ` ide ` , ` sata ` or ` scsi ` . Defaults to ` ide ` .
335
+
336
+ In v1.9 bus indexes are no longer accepted for ISOs. ISOs are now attached to VMs in the order
337
+ they are configured, using free bus indexes after disks are attached.
338
+ Example: if two Disks and one ISO are defined as type ` sata ` , the disks will be attached to the VM
339
+ as ` sata0 ` , ` sata1 ` , and the ISO will be mapped to ` sata2 ` (the next free device index)
337
340
338
341
- ` iso_file ` (string) - Path to the ISO file to boot from, expressed as a
339
342
proxmox datastore path, for example
Original file line number Diff line number Diff line change @@ -237,9 +237,12 @@ type Config struct {
237
237
// ```
238
238
type ISOsConfig struct {
239
239
commonsteps.ISOConfig `mapstructure:",squash"`
240
- // Bus type and bus index that the ISO will be mounted on. Can be `ide`,
241
- // `sata` or `scsi`.
242
- // Defaults to `ide`.
240
+ // Bus type that the ISO will be mounted on. Can be `ide`, `sata` or `scsi`. Defaults to `ide`.
241
+ //
242
+ // In v1.9 bus indexes are no longer accepted for ISOs. ISOs are now attached to VMs in the order
243
+ // they are configured, using free bus indexes after disks are attached.
244
+ // Example: if two Disks and one ISO are defined as type `sata`, the disks will be attached to the VM
245
+ // as `sata0`, `sata1`, and the ISO will be mapped to `sata2` (the next free device index)
243
246
Type string `mapstructure:"type"`
244
247
// Path to the ISO file to boot from, expressed as a
245
248
// proxmox datastore path, for example
Original file line number Diff line number Diff line change 1
1
<!-- Code generated from the comments of the ISOsConfig struct in builder/proxmox/common/config.go; DO NOT EDIT MANUALLY -->
2
2
3
- - `type` (string) - Bus type and bus index that the ISO will be mounted on. Can be `ide`,
4
- `sata` or `scsi`.
5
- Defaults to `ide`.
3
+ - `type` (string) - Bus type that the ISO will be mounted on. Can be `ide`, `sata` or `scsi`. Defaults to `ide`.
4
+
5
+ In v1.9 bus indexes are no longer accepted for ISOs. ISOs are now attached to VMs in the order
6
+ they are configured, using free bus indexes after disks are attached.
7
+ Example: if two Disks and one ISO are defined as type `sata`, the disks will be attached to the VM
8
+ as `sata0`, `sata1`, and the ISO will be mapped to `sata2` (the next free device index)
6
9
7
10
- `iso_file` (string) - Path to the ISO file to boot from, expressed as a
8
11
proxmox datastore path, for example
You can’t perform that action at this time.
0 commit comments