From 181e94a69de9e2a7b40e541d5cc0ad4bcdfd6887 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 12 Sep 2022 14:35:32 -0400 Subject: [PATCH] Add more logging to setup process --- setup/so-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index f5a33c910..f0da78ba4 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -783,7 +783,7 @@ configure_network_sensor() { fi # Create the bond interface only if it doesn't already exist - logCmd "nmcli -f name,uuid -p con | grep -q '$INTERFACE'" + nmcli -f name,uuid -p con | grep -q '$INTERFACE' local found_int=$? if [[ $found_int != 0 ]]; then @@ -1907,7 +1907,7 @@ repo_sync_local() { echo "gpgcheck=1" >> /root/repodownload.conf echo "gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub" >> /root/repodownload.conf - reposync --norepopath -n -g -l -d -m -c /root/repodownload.conf -r securityonionsync --download-metadata -p /nsm/repo/ + logCmd "reposync --norepopath -n -g -l -d -m -c /root/repodownload.conf -r securityonionsync --download-metadata -p /nsm/repo/" # After the download is complete run createrepo