Modify rspconfig --resetnet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -913,13 +913,8 @@ sub fsp_api_passwd { | ||||
| ########################################################################## | ||||
| sub resetnet { | ||||
|     my $request = shift; | ||||
|     my $hash    = shift; | ||||
|     my %nodehash; | ||||
|     foreach ( @{$request->{noderange}}) { | ||||
|        $nodehash{$_} = 1; | ||||
|     } | ||||
|     my $result = xCAT::PPCcfg::doresetnet($request, \%nodehash); | ||||
| 	return [$result]; | ||||
|     xCAT::PPCcfg::doresetnet($request); | ||||
|     exit(0); | ||||
| } | ||||
| 1; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user