Do not disable ipforwarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4761eb8f39
commit
a5a25abca7
@ -262,17 +262,6 @@ sub init_plugin
|
||||
{
|
||||
xCAT::Utils->update_xCATSN($service);
|
||||
}
|
||||
} else {
|
||||
|
||||
$rc = xCAT::NetworkUtils->setup_ip_forwarding(0); # disable ip forwarding
|
||||
if ($rc == 0)
|
||||
{
|
||||
#remove the service from the /etc/xCATSN file
|
||||
my $text=`sed -e "/$service/d" /etc/xCATSN`;
|
||||
if ($?==0) {
|
||||
`echo "$text" > /etc/xCATSN`;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else # management node
|
||||
|
Loading…
Reference in New Issue
Block a user