2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Revert "Add extra debug output to nicutils script"

This commit is contained in:
Mark Gurevich 2020-09-21 11:28:49 -04:00 committed by GitHub
parent 7e9f608230
commit bb4b219b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2074,15 +2074,12 @@ function create_bridge_interface_nmcli {
nmcli con modify $tmp_slave_con_name connection.id $xcat_slave_con
fi
else
log_error "$nmcli con up $xcat_con_name success with return code equals to $is_active"
is_nmcli_connection_exist $tmp_con_name
if [ $? -eq 0 ]; then
log_info "delete connection $tmp_con_name"
$nmcli con delete $tmp_con_name
fi
is_nmcli_connection_exist $tmp_slave_con_name
if [ $? -eq 0 ]; then
log_info "delete connection $tmp_slave_con_name"
$nmcli con delete $tmp_slave_con_name
fi
if [ -n "$xcatcreatedcon" ]; then
@ -2092,7 +2089,6 @@ function create_bridge_interface_nmcli {
wait_for_ifstate $ifname UP 40 40
[ $? -ne 0 ] && rc=1
$ip address show dev $ifname| $sed -e 's/^/[bridge] >> /g' | log_lines info
$ip address show # Show all for debug
fi
return $rc