mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
install salt version specified in master.defaults.yaml for desktop
This commit is contained in:
@@ -85,12 +85,13 @@ analyze_system() {
|
|||||||
|
|
||||||
desktop_salt_local() {
|
desktop_salt_local() {
|
||||||
|
|
||||||
|
SALTVERSION=$(egrep 'version: [0-9]{4}' ../salt/salt/master.defaults.yaml | sed 's/^.*version: //')
|
||||||
# Install everything using local salt
|
# Install everything using local salt
|
||||||
# Set the repo
|
# Set the repo
|
||||||
securityonion_repo
|
securityonion_repo
|
||||||
gpg_rpm_import
|
gpg_rpm_import
|
||||||
# Install salt
|
# Install salt
|
||||||
logCmd "yum -y install salt-minion-3004.1 httpd-tools python3 python36-docker python36-dateutil python36-m2crypto python36-mysql python36-packaging python36-lxml yum-utils device-mapper-persistent-data lvm2 openssl jq"
|
logCmd "yum -y install salt-minion-$SALTVERSION httpd-tools python3 python36-docker python36-dateutil python36-m2crypto python36-mysql python36-packaging python36-lxml yum-utils device-mapper-persistent-data lvm2 openssl jq"
|
||||||
logCmd "yum -y update --exclude=salt*"
|
logCmd "yum -y update --exclude=salt*"
|
||||||
|
|
||||||
logCmd "salt-call state.apply desktop --local --file-root=../salt/ -l info"
|
logCmd "salt-call state.apply desktop --local --file-root=../salt/ -l info"
|
||||||
|
|||||||
Reference in New Issue
Block a user