From 1ca37edf75715a821f73c04f3bd98e8982551596 Mon Sep 17 00:00:00 2001 From: billwajda Date: Wed, 30 Jan 2013 11:58:48 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/confignics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/confignics b/xCAT/postscripts/confignics index 906d5e355..958173966 100755 --- a/xCAT/postscripts/confignics +++ b/xCAT/postscripts/confignics @@ -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