fix other OS installs

This commit is contained in:
Mike Reeves
2023-07-17 13:49:08 -04:00
parent 38c7ea0801
commit 8d6c2600c9

View File

@@ -1948,7 +1948,7 @@ securityonion_repo() {
echo "gpgcheck=1" >> /etc/yum.repos.d/securityonion.repo echo "gpgcheck=1" >> /etc/yum.repos.d/securityonion.repo
fi fi
fi fi
logCmd "dnf repolist all" if [[ $is_rpm ]]; then logCmd "dnf repolist all"; fi
if [[ $waitforstate ]]; then if [[ $waitforstate ]]; then
if [[ ! $is_airgap ]]; then if [[ ! $is_airgap ]]; then
if [[ $is_rpm ]]; then if [[ $is_rpm ]]; then
@@ -2019,6 +2019,7 @@ repo_sync_local() {
} }
saltify() { saltify() {
info "Installing Salt"
SALTVERSION=$(egrep 'version: [0-9]{4}' ../salt/salt/master.defaults.yaml | sed 's/^.*version: //') SALTVERSION=$(egrep 'version: [0-9]{4}' ../salt/salt/master.defaults.yaml | sed 's/^.*version: //')
if [[ $is_deb ]]; then if [[ $is_deb ]]; then