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";