diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index d95fb4736..26c9edebd 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -1338,7 +1338,7 @@ sub nodels } else { - foreach (@$nodes) + foreach sort (@$nodes) { my $noderec; $noderec->{name}->[0] = ($_);