From bb4b219b25db9ea2bf9c6c17f093df8cf1bb44ab Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Mon, 21 Sep 2020 11:28:49 -0400 Subject: [PATCH] Revert "Add extra debug output to nicutils script" --- xCAT/postscripts/nicutils.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xCAT/postscripts/nicutils.sh b/xCAT/postscripts/nicutils.sh index 1fdbe9c7b..c59d39592 100755 --- a/xCAT/postscripts/nicutils.sh +++ b/xCAT/postscripts/nicutils.sh @@ -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