From 1edc9c91ace2a44e5019fa2d88d1ee5f8b84844e Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Fri, 11 Sep 2020 10:43:38 -0400 Subject: [PATCH] Add extra debug output to confignetwork script --- xCAT/postscripts/nicutils.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT/postscripts/nicutils.sh b/xCAT/postscripts/nicutils.sh index 780b1da7b..c59d39592 100755 --- a/xCAT/postscripts/nicutils.sh +++ b/xCAT/postscripts/nicutils.sh @@ -756,9 +756,12 @@ function check_brctl() { function check_and_set_device_managed() { devname=$1 rc=1 + log_info "check_and_set_device_managed for device $devname" $nmcli device show $devname >/dev/null 2>/dev/null if [ $? -ne 0 ]; then log_error "Device $devname not found" + # Could not find the device we wanted. Display all devices + $nmcli device show else $nmcli -g GENERAL.STATE device show $devname|grep unmanaged >/dev/null 2>/dev/null if [ $? -eq 0 ]; then