2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

Merge pull request #2305 from cxhong/bnt

Global symbol "$csw" requires explicit package name at configBNT
This commit is contained in:
Victor Hu
2016-12-15 11:00:42 -05:00
committed by GitHub

View File

@ -158,7 +158,7 @@ sub config_ip {
# don't need to set if ip addresses are same
if ($dip eq $static_ip) {
print "static ip $static_ip and discovery ip $dip is same, will not process command for $switch\n";
$cmd = "chdef $csw otherinterfaces=";
$cmd = "chdef $switch otherinterfaces=";
$rc= xCAT::Utils->runcmd($cmd, 0);
next;
}