mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	polished based on comments.
This commit is contained in:
		| @@ -411,7 +411,7 @@ function sort_nics_device_order { | ||||
|             ((num+=1)) | ||||
|         done | ||||
|       else | ||||
|         log_error "only support configuration of Bond/VLAN/Bridge on Red Hat." | ||||
|         log_error "Only support configuration of Bond/VLAN/Bridge on Red Hat." | ||||
|       fi | ||||
|     fi | ||||
|     new_order=$eth_slot" "$bond_slot" "$vlan_slot | ||||
|   | ||||
| @@ -1473,7 +1473,7 @@ function create_bond_interface { | ||||
|     wait_for_ifstate $ifname UP 200 1 | ||||
|     rc=$? | ||||
|     if [ $rc -ne 0 ]; then | ||||
|         log_error "Interface \"$ifname\" could not be brought to \"UP\"." | ||||
|         log_error "Interface \"$ifname\" could not be brought \"UP\"." | ||||
|         $ip link show $ifname \ | ||||
|         | $sed -e 's/^/['$ifname' ip out >> /g' \ | ||||
|         | log_lines info | ||||
|   | ||||
		Reference in New Issue
	
	Block a user