From a150ad3ee2890d2bb23dd44fd5706772a32233e3 Mon Sep 17 00:00:00 2001 From: yinle Date: Sun, 1 Jul 2012 03:16:39 +0000 Subject: [PATCH] Modify rspconfig --resetnet. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13217 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 a02d7f104..8ffdcf7d0 100644 --- a/perl-xCAT/xCAT/FSPcfg.pm +++ b/perl-xCAT/xCAT/FSPcfg.pm @@ -904,13 +904,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;