From bd94e521351fdd9455f42776bfae8c12e0c4f8fe Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 19 Jan 2010 13:29:13 +0000 Subject: [PATCH] Write master IP to trusted host in conserver.con git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/conserver.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/conserver.pm b/xCAT-server/lib/xcat/plugins/conserver.pm index 04ba55175..95475697d 100644 --- a/xCAT-server/lib/xcat/plugins/conserver.pm +++ b/xCAT-server/lib/xcat/plugins/conserver.pm @@ -219,10 +219,8 @@ sub docfheaders { #push @$content,"#xCAT BEGIN ACCESS\n"; push @newheaders,"access * {\n"; push @newheaders," trusted 127.0.0.1;\n"; - if (xCAT::Utils->isServiceNode()) { - my $master=xCAT::Utils->get_site_Master(); - push @newheaders, " trusted $master;\n"; - } + my $master=xCAT::Utils->get_site_Master(); + push @newheaders, " trusted $master;\n"; push @newheaders,"}\n"; #push @$content,"#xCAT END ACCESS\n";