ensure yum-utils and createrepo are installed from so remote repo

This commit is contained in:
m0duspwnens
2023-01-10 11:34:50 -05:00
parent 73ae48d28e
commit d2e623747d

View File

@@ -1926,7 +1926,7 @@ repo_sync_local() {
if [[ ! "$REPOSYNC" -gt 0 ]]; then if [[ ! "$REPOSYNC" -gt 0 ]]; then
# Install reposync # Install reposync
info "Installing createrepo" info "Installing createrepo"
logCmd "yum -y install yum-utils createrepo" logCmd "yum install -y -c /root/repodownload.conf --disablerepo='*' --enablerepo='securityonionsync' yum-utils createrepo"
else else
info "We have what we need to sync" info "We have what we need to sync"
fi fi