From 7e7bb9250f417fb483c5c9bc858773f90a1777f1 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Wed, 1 Apr 2009 10:20:19 +0000 Subject: [PATCH] Remove useless parameters and blank lines for configiba git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/ib/scripts/configiba.1port | 15 +-------------- .../share/xcat/ib/scripts/configiba.2ports | 15 +-------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.1port b/xCAT-server/share/xcat/ib/scripts/configiba.1port index 331a2d7c8..f6a676526 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.1port +++ b/xCAT-server/share/xcat/ib/scripts/configiba.1port @@ -123,7 +123,7 @@ if ( $PLTFRM eq "AIX" ) { exit; } - my $chdev_cmd = "chdev -l ml0 -a netaddr=$ip -a netmask=$netmask -a state=detach 2>&1"; + my $chdev_cmd = "chdev -l ml0 -a state=detach 2>&1"; runcmd($chdev_cmd); $chdev_cmd = "chdev -l ml0 -a netaddr=$ip -a netmask=$netmask -a state=up 2>&1"; @@ -146,16 +146,3 @@ sub runcmd { } } - - - - - - - - - - - - - diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.2ports b/xCAT-server/share/xcat/ib/scripts/configiba.2ports index a87809819..f1a241762 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.2ports +++ b/xCAT-server/share/xcat/ib/scripts/configiba.2ports @@ -125,7 +125,7 @@ if ( $PLTFRM eq "AIX" ) { exit; } - my $chdev_cmd = "chdev -l ml0 -a netaddr=$ip -a netmask=$netmask -a state=detach 2>&1"; + my $chdev_cmd = "chdev -l ml0 -a state=detach 2>&1"; runcmd($chdev_cmd); $chdev_cmd = "chdev -l ml0 -a netaddr=$ip -a netmask=$netmask -a state=up 2>&1"; @@ -147,16 +147,3 @@ sub runcmd { } } - - - - - - - - - - - - -