From 1aad72df267b44ee472dddb6e1d91d40cb96c885 Mon Sep 17 00:00:00 2001 From: bybai Date: Tue, 16 Feb 2016 03:05:30 -0500 Subject: [PATCH] polish issue 630 fix --- xCAT/postscripts/confignetwork | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/confignetwork b/xCAT/postscripts/confignetwork index dc5593e01..56a2fe8ef 100755 --- a/xCAT/postscripts/confignetwork +++ b/xCAT/postscripts/confignetwork @@ -252,9 +252,9 @@ function sort_nics_device_order { for i in `echo "$base_nic_dev" |sed 's/@/ /g'` do temp_base_nic_type=`find_nic_type "$i"` - #all base ni devices types should be ethernet - #if one nic type is not ethernet, it is invalid - if [ x"$temp_base_nic_type" != "xethernet" ]; then + temp_base_nic_type_one=$temp_base_nic_type + #all base nic devices types should be the same + if [ x"$temp_base_nic_type" != x"$temp_base_nic_type_one" ]; then break fi done