From a6c1300b344857dada00e8b37c16339a3f5461b4 Mon Sep 17 00:00:00 2001 From: Matt Ezell Date: Mon, 4 Dec 2017 10:10:28 -0500 Subject: [PATCH] Fix confignetwork bond nic_type detection with multiple bonds --- xCAT/postscripts/confignetwork | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT/postscripts/confignetwork b/xCAT/postscripts/confignetwork index 59862e336..4c61ceeed 100755 --- a/xCAT/postscripts/confignetwork +++ b/xCAT/postscripts/confignetwork @@ -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`