2
0
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:
billwajda
2013-01-30 11:58:48 +00:00
parent 6166ceba50
commit 1ca37edf75

View File

@@ -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