From 3d101aba143a17920ebb04de4a8af4bd3a90c76b Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Wed, 16 Sep 2015 09:46:53 -0400 Subject: [PATCH] Add to regular expression for ethernet devices to handle the predictable nic naming conventions that are starting to be used in the later OS releases --- xCAT/postscripts/confignics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/confignics b/xCAT/postscripts/confignics index 2868a9a31..c651ecc1c 100755 --- a/xCAT/postscripts/confignics +++ b/xCAT/postscripts/confignics @@ -315,7 +315,7 @@ do continue fi fi - if [ `echo $key | grep -E 'e(n|th|m)[0-9a-z]+'` ];then + if [ `echo $key | grep -E 'e(n|th|m)[0-9a-zA-Z]+'` ];then str_nic_type="ethernet" elif [ `echo $key | grep -E 'ib[0-9]+'` ];then str_nic_type="infiniband"