diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 1566571..8c4ce45 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -545,7 +545,7 @@ sub list_images { my $res = []; if (my $dat = $cache->{rbd}->{$pool}) { - foreach my $image (keys %$dat) { + for my $image (sort keys %$dat) { my $info = $dat->{$image};