diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index c225441c3..02605893e 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -934,7 +934,7 @@ sub nodech if ($curval) { my @vals = split(/,/, $curval); unless (grep /^$val$/, @vals) { - @vals = (@vals, $val); + unshift @vals,$val; my $newval = join(',', @vals); $uhsh{$key} = $newval; }