From 1653eb7f593f4d08ff040ed95d1d7803ed9e2615 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 23 Feb 2009 09:00:16 +0000 Subject: [PATCH] Set static IP to IB adapters. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/ib/scripts/configiba | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/ib/scripts/configiba b/xCAT-server/share/xcat/ib/scripts/configiba index 0bb4bb3fa..9581c2e30 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba +++ b/xCAT-server/share/xcat/ib/scripts/configiba @@ -57,7 +57,7 @@ foreach my $num (@nums) { } if (!open(FILE, ">$dir/ifcfg-$nic")) { system("logger -t xcat 'configiba: cannot open $dir/ifcfg-$nic.'"); exit 1; } print FILE "DEVICE=$nic\n"; - print FILE "BOOTPROTO=none\n"; + print FILE "BOOTPROTO=static\n"; print FILE "IPADDR=$ip\n"; print FILE "NETMASK=$netmask\n"; print FILE "GATEWAY=$gateway\n";