mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
use manager state to install createrepo_c for airgap
This commit is contained in:
@@ -803,6 +803,7 @@ create_manager_pillars() {
|
||||
|
||||
create_repo() {
|
||||
title "Create the repo directory"
|
||||
logCmd "dnf -y install yum-utils createrepo_c"
|
||||
logCmd "createrepo /nsm/repo"
|
||||
}
|
||||
|
||||
@@ -1820,7 +1821,6 @@ repo_sync_local() {
|
||||
echo "gpgcheck=1" >> /opt/so/conf/reposync/repodownload.conf
|
||||
|
||||
logCmd "dnf repolist"
|
||||
logCmd "dnf -y install yum-utils createrepo_c"
|
||||
|
||||
if [[ ! $is_airgap ]]; then
|
||||
curl --retry 5 --retry-delay 60 -A "netinstall/$SOVERSION/$OS/$(uname -r)/1" https://sigs.securityonion.net/checkup --output /tmp/install
|
||||
|
||||
Reference in New Issue
Block a user