mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	defect 4091
This commit is contained in:
		| @@ -180,7 +180,7 @@ if [ "$str_temp" = "mac" ];then | ||||
|             fi | ||||
|         done | ||||
|     else | ||||
|         str_inst_nic=`ifconfig -a | grep -i "$MACADDRESS" | awk '{print $1;}'` | ||||
|        str_inst_nic=`ip -o link | grep -i "$MACADDRESS" | awk '{print $2;}' | sed s/://`  | ||||
|     fi | ||||
| elif [ `echo $str_temp | grep -E "e(n|th)[0-9]+"` ];then | ||||
|     str_inst_nic=$str_temp | ||||
|   | ||||
		Reference in New Issue
	
	Block a user