mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #4434 from mattaezell/confignetwork_multibond
Fix confignetwork bond nic_type detection with multiple bonds
This commit is contained in:
commit
9c946c851d
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user