udpdate generated code
This commit is contained in:
parent
9343a23021
commit
65ad3105b3
|
@ -105,6 +105,7 @@ type FlatConfig struct {
|
||||||
HardDriveDiscard *bool `mapstructure:"hard_drive_discard" required:"false" cty:"hard_drive_discard"`
|
HardDriveDiscard *bool `mapstructure:"hard_drive_discard" required:"false" cty:"hard_drive_discard"`
|
||||||
HardDriveInterface *string `mapstructure:"hard_drive_interface" required:"false" cty:"hard_drive_interface"`
|
HardDriveInterface *string `mapstructure:"hard_drive_interface" required:"false" cty:"hard_drive_interface"`
|
||||||
SATAPortCount *int `mapstructure:"sata_port_count" required:"false" cty:"sata_port_count"`
|
SATAPortCount *int `mapstructure:"sata_port_count" required:"false" cty:"sata_port_count"`
|
||||||
|
NVMePortCount *int `mapstructure:"nvme_port_count" required:"false" cty:"nvme_port_count"`
|
||||||
HardDriveNonrotational *bool `mapstructure:"hard_drive_nonrotational" required:"false" cty:"hard_drive_nonrotational"`
|
HardDriveNonrotational *bool `mapstructure:"hard_drive_nonrotational" required:"false" cty:"hard_drive_nonrotational"`
|
||||||
ISOInterface *string `mapstructure:"iso_interface" required:"false" cty:"iso_interface"`
|
ISOInterface *string `mapstructure:"iso_interface" required:"false" cty:"iso_interface"`
|
||||||
KeepRegistered *bool `mapstructure:"keep_registered" required:"false" cty:"keep_registered"`
|
KeepRegistered *bool `mapstructure:"keep_registered" required:"false" cty:"keep_registered"`
|
||||||
|
@ -217,6 +218,7 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
|
||||||
"hard_drive_discard": &hcldec.AttrSpec{Name: "hard_drive_discard", Type: cty.Bool, Required: false},
|
"hard_drive_discard": &hcldec.AttrSpec{Name: "hard_drive_discard", Type: cty.Bool, Required: false},
|
||||||
"hard_drive_interface": &hcldec.AttrSpec{Name: "hard_drive_interface", Type: cty.String, Required: false},
|
"hard_drive_interface": &hcldec.AttrSpec{Name: "hard_drive_interface", Type: cty.String, Required: false},
|
||||||
"sata_port_count": &hcldec.AttrSpec{Name: "sata_port_count", Type: cty.Number, Required: false},
|
"sata_port_count": &hcldec.AttrSpec{Name: "sata_port_count", Type: cty.Number, Required: false},
|
||||||
|
"nvme_port_count": &hcldec.AttrSpec{Name: "nvme_port_count", Type: cty.Number, Required: false},
|
||||||
"hard_drive_nonrotational": &hcldec.AttrSpec{Name: "hard_drive_nonrotational", Type: cty.Bool, Required: false},
|
"hard_drive_nonrotational": &hcldec.AttrSpec{Name: "hard_drive_nonrotational", Type: cty.Bool, Required: false},
|
||||||
"iso_interface": &hcldec.AttrSpec{Name: "iso_interface", Type: cty.String, Required: false},
|
"iso_interface": &hcldec.AttrSpec{Name: "iso_interface", Type: cty.String, Required: false},
|
||||||
"keep_registered": &hcldec.AttrSpec{Name: "keep_registered", Type: cty.Bool, Required: false},
|
"keep_registered": &hcldec.AttrSpec{Name: "keep_registered", Type: cty.Bool, Required: false},
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
- `hard_drive_interface` (string) - The type of controller that the primary hard drive is attached to,
|
- `hard_drive_interface` (string) - The type of controller that the primary hard drive is attached to,
|
||||||
defaults to ide. When set to sata, the drive is attached to an AHCI SATA
|
defaults to ide. When set to sata, the drive is attached to an AHCI SATA
|
||||||
controller. When set to scsi, the drive is attached to an LsiLogic SCSI
|
controller. When set to scsi, the drive is attached to an LsiLogic SCSI
|
||||||
|
controller. When set to pcie, the drive is attached to an NVMe
|
||||||
controller.
|
controller.
|
||||||
|
|
||||||
- `sata_port_count` (int) - The number of ports available on any SATA controller created, defaults
|
- `sata_port_count` (int) - The number of ports available on any SATA controller created, defaults
|
||||||
|
@ -54,6 +55,11 @@
|
||||||
controller. Increasing this value can be useful if you want to attach
|
controller. Increasing this value can be useful if you want to attach
|
||||||
additional drives.
|
additional drives.
|
||||||
|
|
||||||
|
- `nvme_port_count` (int) - The number of ports available on any NVMe controller created, defaults
|
||||||
|
to 1. VirtualBox supports up to 255 ports on a maximum of 1 NVMe
|
||||||
|
controller. Increasing this value can be useful if you want to attach
|
||||||
|
additional drives.
|
||||||
|
|
||||||
- `hard_drive_nonrotational` (bool) - Forces some guests (i.e. Windows 7+) to treat disks as SSDs and stops
|
- `hard_drive_nonrotational` (bool) - Forces some guests (i.e. Windows 7+) to treat disks as SSDs and stops
|
||||||
them from performing disk fragmentation. Also set hard_drive_discard to
|
them from performing disk fragmentation. Also set hard_drive_discard to
|
||||||
true to enable TRIM support.
|
true to enable TRIM support.
|
||||||
|
|
Loading…
Reference in New Issue