2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-14 10:13:48 +00:00

Merge pull request #7005 from peterwywong/fix_br0_mask

Return the correct network mask by matching the netname exactly in nicutils.sh
This commit is contained in:
besawn
2021-07-20 16:16:37 -04:00
committed by GitHub
+1 -1
View File
@@ -397,7 +397,7 @@ function get_network_attr {
while [ $index -le $NETWORKS_LINES ]
do
eval netline=\$NETWORKS_LINE$index
echo "$netline" | grep -sq ".*netname=$netname" && break;
echo "$netline" | grep -sq ".*netname=$netname||" && break;
((index+=1))
done