mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 16:35:30 +00:00
update_vm: sort logged parameters
otherwise the (log) output looks really strange when mass-updating VMs, e.g.: update VM 400001: -scsi1 somestore:64 -scsi0 somestore:64 -ide2 isostore:iso/somefile.iso,media=cdrom update VM 400002: -ide2 isostore:iso/somefile.iso,media=cdrom -scsi1 somestore:64 -scsi0 somestore:64 update VM 400003: -scsi0 somestore:64 -ide2 isostore:iso/somefile.iso,media=cdrom -scsi1 somestore:64 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
424f9940af
commit
edd48c325a
@ -908,7 +908,7 @@ my $update_vm_api = sub {
|
||||
my $background_delay = extract_param($param, 'background_delay');
|
||||
|
||||
my @paramarr = (); # used for log message
|
||||
foreach my $key (keys %$param) {
|
||||
foreach my $key (sort keys %$param) {
|
||||
push @paramarr, "-$key", $param->{$key};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user