diff --git a/salt/common/packages.sls b/salt/common/packages.sls index 0bb36d07f..006e33c3e 100644 --- a/salt/common/packages.sls +++ b/salt/common/packages.sls @@ -45,13 +45,10 @@ commonpkgs: - createrepo - python3-lxml - python3-packaging - - python3-watchdog - - yum-utils - device-mapper-persistent-data - lvm2 - openssl - git - - vim-enhanced - python3-docker {% else %} commonpkgs: diff --git a/setup/so-functions b/setup/so-functions index e71caa0a1..0b4ba9fa1 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1965,7 +1965,9 @@ repo_sync_local() { # Make sure we can get to the sig repo logCmd "curl --retry 5 --retry-delay 60 -A 'gridinstall/$SOVERSION/$OS/$(uname -r)/1' https://sigs.securityonion.net/checkup --output /tmp/checkup" logCmd "dnf reposync --norepopath -n -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/" - + # Run it again and make sure we got allt he things + logCmd "dnf reposync --norepopath -n -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/" + # After the download is complete run createrepo create_repo @@ -2018,6 +2020,7 @@ saltify() { else # THIS IS A TEMP HACK logCmd "dnf -y install securityonion-salt" + logCmd "mkdir -p /etc/salt/minion.d" if [[ $waitforstate ]]; then # Since this is a salt master so let's install it logCmd ""