Skip to content

Commit

Permalink
Improving the "ovirt_disk" documentation for disk extend flow.
Browse files Browse the repository at this point in the history
If the disk is referenced by "name" and is attached to a VM,
make sure to specify "vm_name" / "vm_id" to prevent extension
of another disk that is not attached to the VM.

Signed-off-by: Pavel Bar <pbar@redhat.com>
Bug-Url: https://bugzilla.redhat.com/2016638
  • Loading branch information
barpavel committed Jul 12, 2022
1 parent 6041fa2 commit b9b03d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/modules/ovirt_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
- "Size of the disk. Size should be specified using IEC standard units.
For example 10GiB, 1024MiB, etc."
- "Size can be only increased, not decreased."
- "If the disk is referenced by C(name) and is attached to a VM, make sure to specify C(vm_name)/C(vm_id)
to prevent extension of another disk that is not attached to the VM."
type: str
interface:
description:
Expand Down

0 comments on commit b9b03d8

Please sign in to comment.