Wait for the driver initialized before active the adapter

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2010-04-29 11:48:28 +00:00
parent b86a96b510
commit d883126093
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ foreach my $num ( @nums ) {
my $openibd_start_cmd = "/sbin/service openibd start";
runcmd($openibd_start_cmd);
sleep(5);
runcmd("ifup $nic");
system("logger -t xcat 'configiba: successfully configured $nic.'");
} elsif ( $PLTFRM eq "AIX" ) {

View File

@ -85,6 +85,7 @@ foreach my $num ( @nums ) {
my $openibd_start_cmd = "/sbin/service openibd start";
runcmd($openibd_start_cmd);
sleep(5);
runcmd("ifup $nic");
system("logger -t xcat 'configiba: successfully configured $nic.'");
} elsif ( $PLTFRM eq "AIX" ) {