mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 16:38:16 +00:00
fix typo
This commit is contained in:
parent
ba68cf0938
commit
ab6b35dfdf
@ -119,7 +119,7 @@ my $check_vm_modify_config_perm = sub {
|
||||
|
||||
if ($opt eq 'sockets' || $opt eq 'cores' ||
|
||||
$opt eq 'cpu' || $opt eq 'smp' ||
|
||||
$opt eq 'cpuimit' || $opt eq 'cpuunits') {
|
||||
$opt eq 'cpulimit' || $opt eq 'cpuunits') {
|
||||
$rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.CPU']);
|
||||
} elsif ($opt eq 'boot' || $opt eq 'bootdisk') {
|
||||
$rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.Disk']);
|
||||
|
Loading…
Reference in New Issue
Block a user