Fix repo creation in airgap

This commit is contained in:
Mike Reeves
2021-08-16 13:00:52 -04:00
parent f1c91555ae
commit a12f19c533

View File

@@ -1074,6 +1074,9 @@ create_local_nids_rules() {
create_repo() { create_repo() {
# Create the repo for airgap # Create the repo for airgap
if [ -d "/root/nsm/repo" ]; then
mv /root/nsm/repo /nsm/repo
fi
createrepo /nsm/repo createrepo /nsm/repo
} }