defect 4453: In the Postage.pm, fix the issue that he xcatmaster attribute for node cannot be set to 'MASTER' env viriable in mypostscript

This commit is contained in:
daniceexi 2014-12-03 01:12:31 -05:00
parent 4097b7f845
commit b02452e2fb

View File

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