2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-25 05:41:09 +00:00

Merge pull request #4434 from mattaezell/confignetwork_multibond

Fix confignetwork bond nic_type detection with multiple bonds
This commit is contained in:
Yuan Bai
2017-12-05 15:31:28 +08:00
committed by GitHub

View File

@@ -366,6 +366,7 @@ function sort_nics_device_order {
#find nicdevice type as base_nic_type
base_nic_dev=`echo "$nics_list" |sed -n "${num}p"|awk '{print $2}'`
if echo "$base_nic_dev"|grep "@" >/dev/null; then
temp_base_nic_type_one=''
for i in `echo "$base_nic_dev" |sed 's/@/ /g'`
do
temp_base_nic_type=`find_nic_type "$i" | $utolcmd`