2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-25 04:30:28 +00:00

polish issue 630 fix

This commit is contained in:
bybai
2016-02-16 03:05:30 -05:00
parent 33f3c05e6a
commit 1aad72df26

View File

@@ -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