From 981e545f62f3efbb1d47af96305eff6e0c2d04f3 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 27 Nov 2012 06:21:36 +0000 Subject: [PATCH] if the nodehm.xcatmaster is not set, there is a problem. fixed it git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index 9b1c41399..0df0280b6 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -828,7 +828,7 @@ sub subvars_for_mypostscript { my $master = $::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster}; if( !defined($master) ) { - $::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster} = $::XCATSITEVALS{MASTER}; + $::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster} = $::XCATSITEVALS{master}; } #get the node type, service node or compute node