fixed pattern match problem in confignics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6166ceba50
commit
1ca37edf75
@ -45,7 +45,7 @@ my $MAC = $ENV{MACADDRESS};
|
||||
my $inst_nic = '';
|
||||
|
||||
# determine which ethernet nic is the installnic.
|
||||
if ($installnic =~ /(e(n|th)d+)$/ ) {
|
||||
if ($installnic =~ /(e(n|th)\d+)$/ ) {
|
||||
$inst_nic = $1;
|
||||
} elsif ($installnic eq "mac") {
|
||||
# determine nic from mac. Get all NICs and their mac addresses from ifconfig
|
||||
|
Loading…
Reference in New Issue
Block a user