mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix logging
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user