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
This commit is contained in:
parent
88bf1ad330
commit
bd94e52135
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user