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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user