From 287ed1f702e91d46d56f1fd0534dfc3e88dcf277 Mon Sep 17 00:00:00 2001 From: yinle Date: Sun, 1 Jul 2012 03:19:10 +0000 Subject: [PATCH] Modify rspconfig --resetnet. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPcfg.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/perl-xCAT/xCAT/FSPcfg.pm b/perl-xCAT/xCAT/FSPcfg.pm index dbe708bcb..a06c8ace7 100644 --- a/perl-xCAT/xCAT/FSPcfg.pm +++ b/perl-xCAT/xCAT/FSPcfg.pm @@ -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;