From b02452e2fb8763a074b3b554b54c2243f5bb96d2 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 3 Dec 2014 01:12:31 -0500 Subject: [PATCH] defect 4453: In the Postage.pm, fix the issue that he xcatmaster attribute for node cannot be set to 'MASTER' env viriable in mypostscript --- xCAT-server/lib/perl/xCAT/Postage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 3d7ba772b..bc99a3d37 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -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);