diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index 961f05c11..8fff76131 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -385,6 +385,7 @@ Usage: $allmacs{$macstr} = 0; } } + %allmacsupper = (); foreach (keys %allmacs){ $allmacsupper{uc($_)} = 0; } @@ -1107,6 +1108,7 @@ Usage: $allmacs{$macstr} = 0; } } + %allmacsupper = (); foreach (keys %allmacs){ $allmacsupper{uc($_)} = 0; } @@ -1508,6 +1510,7 @@ sub findme{ $allmacs{$macstr} = 0; } } + %allmacsupper = (); foreach (keys %allmacs){ $allmacsupper{uc($_)} = 0; }