On SLES, there is no ifup binary in /etc/sysconfig directory. Use the binary /sbin/ifup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d05271857c
commit
f715792ba1
@ -64,7 +64,7 @@ foreach my $num (@nums) {
|
||||
print FILE "ONBOOT=yes\n" if ( $OS_name eq 'redhat');
|
||||
print FILE "STARTMODE=auto\n" if ( $OS_name eq 'suse');
|
||||
close FILE;
|
||||
runcmd("$dir/ifup $nic");
|
||||
runcmd("ifup $nic");
|
||||
system("logger -t xcat 'configiba: successfully configured $nic.'");
|
||||
} elsif ($PLTFRM eq "AIX") {
|
||||
#Check whether the icm is available
|
||||
|
Loading…
Reference in New Issue
Block a user