fix logging

This commit is contained in:
Jason Ertel
2025-06-24 11:03:08 -04:00
parent b052a75e64
commit 21d9964827
2 changed files with 4 additions and 4 deletions

View File

@@ -105,9 +105,9 @@ airgap_playbooks() {
mkdir -p /nsm/airgap-resources
# Purge old airgap playbooks to ensure SO only uses the latest released playbooks
rm -fr /nsm/airgap-resources/playbooks
logCmd "tar xf $SRC_DIR/airgap-resources/playbooks.tgz -C /nsm/airgap-resources/"
logCmd "chown -R socore:socore /nsm/airgap-resources/playbooks"
logCmd "git config --global --add safe.directory /nsm/airgap-resources/playbooks"
tar xf $SRC_DIR/airgap-resources/playbooks.tgz -C /nsm/airgap-resources/
chown -R socore:socore /nsm/airgap-resources/playbooks
git config --global --add safe.directory /nsm/airgap-resources/playbooks
}
check_container() {

View File

@@ -771,7 +771,7 @@ if ! [[ -f $install_opt_file ]]; then
fi
if [[ $is_airgap ]]; then
title "Syncing Playbooks"
airgap_playbooks /root/SecurityOnion
logCmd "airgap_playbooks /root/SecurityOnion"
fi
title "Setting up Kibana Default Space"
logCmd "so-kibana-space-defaults"