qemu-server/PVE
Friedrich Weber 92c02f6c64 cloudinit: allow non-root users to set ciupgrade option
The new ciupgrade option was missing in $cloudinitoptions in
PVE::API2::Qemu, so $check_vm_modify_config_perm defaulted to
requiring root@pam for modifying the option. To fix this, add
ciupgrade to $cloudinitoptions. This also fixes an issue where
ciupgrade was missing in the output of `qm cloudinit pending`,
as it also relies on $cloudinitoptions.

This issue was originally reported in the forum [0].

Also add a comment to avoid similar issues when adding new options in
the future.

[0]: https://forum.proxmox.com/threads/131043/

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
2023-07-25 11:42:07 +02:00
..
API2 cloudinit: allow non-root users to set ciupgrade option 2023-07-25 11:42:07 +02:00
CLI qm: remote migration: improve error when storage cannot be found 2023-06-09 09:49:40 +02:00
QemuServer cloudinit: restore previous default for package upgrades 2023-06-21 12:40:58 +02:00
VZDump vzdump: pbs: factor out getting and checking encryption keys 2023-07-06 17:44:18 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm qemuserver: foreach_volid: always include pending disks 2023-06-21 12:48:11 +02:00
QemuMigrate.pm migration: fix issue with qcow2 cloudinit disk live migration 2023-06-21 12:48:11 +02:00
QemuServer.pm cloudinit: allow non-root users to set ciupgrade option 2023-07-25 11:42:07 +02:00
QMPClient.pm remove left-over mentions of to-be-dropped, outdated QMP commands 2023-06-07 19:36:45 +02:00