Skip to content

Commit 787ba59

Browse files
Remove limited choice for vga option in proxmox_kvm (#185)
* Remove limited choice for vga option in proxmox_kvm * Refer to Proxmox documentation for vga option in proxmox_kvm
1 parent 10f88ae commit 787ba59

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- proxmox_kvm - remove limited choice for vga option in proxmox_kvm (https://github.com/ansible-collections/community.proxmox/pull/185)

plugins/modules/proxmox_kvm.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,9 @@
543543
vga:
544544
description:
545545
- Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option V(std) or V(vmware).
546+
- Please refer to the Proxmox VE Administrator Guide, section QEMU/KVM Virtual Machines (see
547+
U(https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_options)) for more information on possible values.
546548
type: str
547-
choices: ['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']
548549
virtio:
549550
description:
550551
- A hash/dictionary of volume used as VIRTIO hard disk. O(virtio='{"key":"value", "key":"value"}').
@@ -1314,7 +1315,7 @@ def main():
13141315
update=dict(type='bool', default=False),
13151316
update_unsafe=dict(type='bool', default=False),
13161317
vcpus=dict(type='int'),
1317-
vga=dict(choices=['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']),
1318+
vga=dict(type='str'),
13181319
virtio=dict(type='dict'),
13191320
vmid=dict(type='int'),
13201321
watchdog=dict(),

0 commit comments

Comments
 (0)