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

polish fix 630

This commit is contained in:
bybai 2016-02-23 01:43:30 -05:00
parent 1aad72df26
commit 263f0f6851

View File

@ -252,10 +252,14 @@ function sort_nics_device_order {
for i in `echo "$base_nic_dev" |sed 's/@/ /g'`
do
temp_base_nic_type=`find_nic_type "$i"`
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
if [ x"$temp_base_nic_type_one" = x ]; then
temp_base_nic_type_one=$temp_base_nic_type
else
#all base nic devices types should be the same
if [ x"$temp_base_nic_type" != x"$temp_base_nic_type_one" ]; then
break
fi
temp_base_nic_type_one=$temp_base_nic_type
fi
done
else