Skip to content

Commit bb42916

Browse files
committed
docs: clarify disk_provisioning options
Clarifies the `disk_provisioning` argument options. Signed-off-by: Ryan Johnson <[email protected]>
1 parent 6836213 commit bb42916

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ DOCUMENTATION:
1818

1919
- `d/folder`/`r/folder`: Updated documentation. (#2459)
2020
- `d/license`/`r/flicense`: Updated documentation. (#2435)
21+
- `r/virtual_machine`: Updated documentation. (#2480)
22+
- `d/ovf_vm_template`: Updated documentation. (#2480)
2123

2224
CHORE:
2325

docs/data-sources/ovf_vm_template.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,13 @@ The following arguments are supported:
205205
* `ip_allocation_policy` - (Optional) The IP allocation policy.
206206
* `ip_protocol` - (Optional) The IP protocol.
207207
* `disk_provisioning` - (Optional) The disk provisioning type. If set, all the
208-
disks in the deployed OVA/OVF will have the same specified disk type. Can be
209-
one of `thin`, `flat`, `thick` or `sameAsSource`.
208+
disks included in the OVF/OVA will have the same specified policy. Can be
209+
one of `thin`, `thick`, `eagerZeroedThick`, or `sameAsSource`.
210+
* `thin`: Each disk is allocated and zeroed on demand as the space is used.
211+
* `thick`: Each disk is allocated at creation time and the space is zeroed
212+
on demand as the space is used.
213+
* `eagerZeroedThick`: Each disk is allocated and zeroed at creation time.
214+
* `sameAsSource`: Each disk will have the same disk type as the source.
210215
* `deployment_option` - (Optional) The key of the chosen deployment option. If
211216
empty, the default option is chosen.
212217
* `ovf_network_map` - (Optional) The mapping of name of network identifiers

docs/resources/virtual_machine.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,11 @@ The options available in the `ovf_deploy` block are:
14091409

14101410
* `ip_protocol` - (Optional) The IP protocol.
14111411

1412-
* `disk_provisioning` - (Optional) The disk provisioning policy. If set, all the disks included in the OVF/OVA will have the same specified policy. One of `thin`, `flat`, `thick`, or `sameAsSource`.
1412+
* `disk_provisioning` - (Optional) The disk provisioning type. If set, all the disks included in the OVF/OVA will have the same specified policy. One of `thin`, `thick`, `eagerZeroedThick`, or `sameAsSource`.
1413+
* `thin`: Each disk is allocated and zeroed on demand as the space is used.
1414+
* `thick`: Each disk is allocated at creation time and the space is zeroed on demand as the space is used.
1415+
* `eagerZeroedThick`: Each disk is allocated and zeroed at creation time.
1416+
* `sameAsSource`: Each disk will have the same disk type as the source.
14131417

14141418
* `deployment_option` - (Optional) The key for the deployment option. If empty, the default option is selected.
14151419

0 commit comments

Comments
 (0)