Skip to content

Commit 44cc54d

Browse files
proxmox_kvm: Fix module ignores storage parameter when restoring VM f… (#152)
* proxmox_kvm: Fix module ignores storage parameter when restoring VM from backup * changelog: Add 152-fix-module_ignores_storage_param fragment * changelog: 152-fix-module_ignores_storage_param - fix syntax * proxmox_kvm: Add additional doc for 'storage'-param
1 parent 8f90ab0 commit 44cc54d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- proxmox_kvm - Add missing 'storage' parameter to create_vm()-call.

plugins/modules/proxmox_kvm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@
461461
storage:
462462
description:
463463
- Target storage for full clone.
464+
- If restoring from archive, target storage for all disks. If omitted, storage location embedded inside archive will be used.
464465
type: str
465466
tablet:
466467
description:
@@ -1480,6 +1481,7 @@ def main():
14801481
sshkeys=module.params['sshkeys'],
14811482
startdate=module.params['startdate'],
14821483
startup=module.params['startup'],
1484+
storage=module.params['storage'],
14831485
tablet=module.params['tablet'],
14841486
tags=module.params['tags'],
14851487
target=module.params['target'],

0 commit comments

Comments
 (0)