mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 10:33:46 +00:00
Fix storing of "disk.iothread" in TF state
Add missing doc entry Relates to #87
This commit is contained in:
parent
7cb22ccec8
commit
442b60c8f9
@ -195,6 +195,7 @@ output "ubuntu_vm_public_key" {
|
||||
* `read_burstable` - (Optional) The maximum burstable read speed in megabytes per second.
|
||||
* `write` - (Optional) The maximum write speed in megabytes per second.
|
||||
* `write_burstable` - (Optional) The maximum burstable write speed in megabytes per second.
|
||||
* `iothread` - (Optional) Whether to use iothreads for this disk (defaults to `false`).
|
||||
* `initialization` - (Optional) The cloud-init configuration.
|
||||
* `datastore_id` - (Optional) The identifier for the datastore to create the cloud-init disk in (defaults
|
||||
to `local-lvm`).
|
||||
|
@ -2619,6 +2619,12 @@ func resourceVirtualEnvironmentVMReadCustom(ctx context.Context, d *schema.Resou
|
||||
disk[mkResourceVirtualEnvironmentVMDiskSpeed] = []interface{}{}
|
||||
}
|
||||
|
||||
if dd.IOThread != nil {
|
||||
disk[mkResourceVirtualEnvironmentVMDiskIOThread] = *dd.IOThread
|
||||
} else {
|
||||
disk[mkResourceVirtualEnvironmentVMDiskIOThread] = false
|
||||
}
|
||||
|
||||
diskMap[di] = disk
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user