Make the same update in truck to 2.4.x releases

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2010-05-27 09:06:28 +00:00
parent 0bfc92135c
commit e77d87cf4c
2 changed files with 4 additions and 2 deletions

View File

@ -113,8 +113,9 @@ if ( $PLTFRM eq "Linux" ) {
my $openibd_start_cmd = "/sbin/service openibd restart";
runcmd($openibd_start_cmd);
sleep(5);
sleep(20);
foreach my $nic ( @nics ) {
sleep(5);
runcmd("ifup $nic");
system("logger -t xcat 'configiba: successfully configured $nic.'");
}

View File

@ -113,8 +113,9 @@ if ( $PLTFRM eq "Linux" ) {
my $openibd_start_cmd = "/sbin/service openibd restart";
runcmd($openibd_start_cmd);
sleep(5);
sleep(20);
foreach my $nic ( @nics ) {
sleep(5);
runcmd("ifup $nic");
system("logger -t xcat 'configiba: successfully configured $nic.'");
}