defect #4026, allow for SN facing ip to be seen

This commit is contained in:
Arif Ali 2014-04-04 12:08:26 +01:00
parent 99a04964c7
commit 6e0969ca21

View File

@ -1394,7 +1394,7 @@ sub collect_all_attribs_for_tables_in_template
$::GLOBAL_TAB_HASH{$tabname}{$node}{$attrib} = $ent->{$node}->[0]->{$attrib};
#for noderes.xcatmaster
if ($tabname =~ /^noderes$/ && $attrib =~ /^xcatmaster$/ && ! exists($::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster}))
if ($tabname =~ /^noderes$/ && $attrib =~ /^xcatmaster$/ && $::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster} == "")
{
my $value;
$value = xCAT::NetworkUtils->my_ip_facing($node);