mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Create dir if needed
This commit is contained in:
@@ -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/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user