Merge pull request #14723 from Security-Onion-Solutions/2.4/airgapfix

Create dir if needed
This commit is contained in:
Josh Brower
2025-06-09 07:47:59 -04:00
committed by GitHub

View File

@@ -1071,6 +1071,8 @@ update_airgap_rules() {
update_airgap_playbooks() { update_airgap_playbooks() {
# Copy the playbooks over to update them for airgap. # Copy the playbooks over to update them for airgap.
mkdir -p /nsm/airgap-resources/playbooks
chown -R socore:socore /nsm/airgap-resources/playbooks
rsync -a --delete --chown=socore:socore $UPDATE_DIR/airgap-resources/playbooks/ /nsm/airgap-resources/playbooks/ rsync -a --delete --chown=socore:socore $UPDATE_DIR/airgap-resources/playbooks/ /nsm/airgap-resources/playbooks/
} }