mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Merge pull request #187 from whowutwut/predictable_nic
Fix for xcat-core/issues/177 master branch, predictable nic names
This commit is contained in:
commit
06ff2d1d13
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user