initialize global variables to avoid Cannot re-provision the node which has been removed

This commit is contained in:
Lei Ai 2013-08-05 15:10:16 +08:00
parent 1de09a51c9
commit 008e72d316

View File

@ -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;
}