mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-23 12:51:10 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user