Hello,

the bug can be solved with the attached patch.

Regards
  Christoph
--- fai-5.10.3.orig/lib/setup-storage/Commands.pm
+++ fai-5.10.3/lib/setup-storage/Commands.pm
@@ -349,7 +349,7 @@ sub build_btrfs_commands {
     next unless ($config eq "BTRFS");
 
     #create BTRFS RAIDs
-    foreach my $id (keys %{ $FAI::configs{$config}{volumes} }) {
+    foreach my $id (&FAI::numsort(keys %{ $FAI::configs{$config}{volumes} })) {
     #reference to current btrfs volume
     my $vol = (\%FAI::configs)->{$config}->{volumes}->{$id};
 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to