From 9767ec2627fa3d3935179eaaddc30b61e3157d4c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 19 Mar 2010 14:24:08 +0000 Subject: [PATCH] -Fix network= syntax of blade rspconfig command git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 901fda01e..6f2a70b74 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -2462,7 +2462,7 @@ sub telnetcmds { elsif (/^swnet$/) { $result = swnet($t,$handled{$_}); } elsif (/^pd1|pd2$/) { $result = pd($t,$_,$handled{$_}); } elsif (/^textid$/) { $result = mmtextid($t,$mpa,$handled{$_},$mm); } - elsif (/^network_reset$/) { $result = network($t,$handled{$_},$mpa,1); } + elsif (/^network_reset$/) { $result = network($t,$handled{$_},$mpa,$mm,1); } push @data, "$_: @$result"; $Rc |= shift(@$result); push @cfgtext,@$result; @@ -2519,8 +2519,8 @@ sub network { my $t = shift; my $value = shift; my $mpa = shift; - my $reset = shift; my $mm = shift; + my $reset = shift; my $cmd = "ifconfig -eth0 -c static -r auto -d auto -m 1500 -T system:$mm"; my ($ip,$host,$gateway,$mask);