mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
polished based on comments.
This commit is contained in:
parent
820fd10cc9
commit
beeb80cfde
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user