From fa689ffadcba8cd6959dbdc1a1d1ce90f2cd1c4d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 12 Feb 2022 09:30:11 +0100 Subject: [PATCH] [modules/cloud/misc/proxmox_kvm] Update docs for storage format option (#4186) (#4189) * Updated storage format documentation to point to PVE docs to show possible values * Fixed trailing space (cherry picked from commit 14b8cd9c6492918f886b443974168beadd0884f0) Co-authored-by: thuttinpasseron <87776406+thuttinpasseron@users.noreply.github.com> --- plugins/modules/cloud/misc/proxmox_kvm.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/plugins/modules/cloud/misc/proxmox_kvm.py b/plugins/modules/cloud/misc/proxmox_kvm.py index 96303ce517..07c5e42185 100644 --- a/plugins/modules/cloud/misc/proxmox_kvm.py +++ b/plugins/modules/cloud/misc/proxmox_kvm.py @@ -131,6 +131,9 @@ options: - Target drive's backing file's data format. - Used only with clone - Use I(format=unspecified) and I(full=false) for a linked clone. + - Please refer to the Proxmox VE Administrator Guide, section Proxmox VE Storage (see + U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for the latest version, tables 3 to 14) to find out format + supported by the provided storage backend. - This option has no default unless I(proxmox_default_behavior) is set to C(compatiblity); then the default is C(qcow2). If I(proxmox_default_behavior) is set to C(no_defaults), not specifying this option is equivalent to setting it to C(unspecified). type: str @@ -175,7 +178,9 @@ options: - Values allowed are - C("storage:size,format=value"). - C(storage) is the storage identifier where to create the disk. - C(size) is the size of the disk in GB. - - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). + - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). Please refer to the Proxmox VE + Administrator Guide, section Proxmox VE Storage (see U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for + the latest version, tables 3 to 14) to find out format supported by the provided storage backend. type: dict ipconfig: description: @@ -307,7 +312,9 @@ options: - Values allowed are - C("storage:size,format=value"). - C(storage) is the storage identifier where to create the disk. - C(size) is the size of the disk in GB. - - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). + - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). Please refer to the Proxmox VE + Administrator Guide, section Proxmox VE Storage (see U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for + the latest version, tables 3 to 14) to find out format supported by the provided storage backend. type: dict scsi: description: @@ -316,7 +323,9 @@ options: - Values allowed are - C("storage:size,format=value"). - C(storage) is the storage identifier where to create the disk. - C(size) is the size of the disk in GB. - - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). + - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). Please refer to the Proxmox VE + Administrator Guide, section Proxmox VE Storage (see U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for + the latest version, tables 3 to 14) to find out format supported by the provided storage backend. type: dict scsihw: description: @@ -446,7 +455,9 @@ options: - Values allowed are - C("storage:size,format=value"). - C(storage) is the storage identifier where to create the disk. - C(size) is the size of the disk in GB. - - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). + - C(format) is the drive's backing file's data format. C(qcow2|raw|subvol). Please refer to the Proxmox VE + Administrator Guide, section Proxmox VE Storage (see U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) + for the latest version, tables 3 to 14) to find out format supported by the provided storage backend. type: dict watchdog: description: