mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Add some Ubuntu
This commit is contained in:
@@ -2045,13 +2045,17 @@ saltify() {
|
|||||||
# Ain't nothing but a GPG
|
# Ain't nothing but a GPG
|
||||||
|
|
||||||
retry 150 20 "apt-get update" "" "Err:" || fail_setup
|
retry 150 20 "apt-get update" "" "Err:" || fail_setup
|
||||||
|
if [[ $waitforstate ]]; then
|
||||||
|
retry 150 20 "apt-get -y install salt-common=$SALTVERSION salt-minion=$SALTVERSION salt-master=$SALTVERSION" || fail_setup
|
||||||
|
retry 150 20 "apt-mark hold salt-minion salt-common salt-master" || fail_setup
|
||||||
|
retry 150 20 "apt-get -y install python3-pip python3-dateutil python3-m2crypto python3-mysqldb python3-packaging python3-influxdb python3-lxml" || exit 1
|
||||||
|
else
|
||||||
retry 150 20 "apt-get -y install salt-common=$SALTVERSION salt-minion=$SALTVERSION" || fail_setup
|
retry 150 20 "apt-get -y install salt-common=$SALTVERSION salt-minion=$SALTVERSION" || fail_setup
|
||||||
retry 150 20 "apt-mark hold salt-minion salt-common" || fail_setup
|
retry 150 20 "apt-mark hold salt-minion salt-common" || fail_setup
|
||||||
#retry 150 20 "apt-get -y install python3-pip python3-dateutil python3-m2crypto python3-mysqldb python3-packaging python3-influxdb python3-lxml" || exit 1
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $is_rocky || $is_centos || $is_ubuntu ]]; then
|
if [[ $is_rocky || $is_centos ]]; then
|
||||||
if [[ $waitforstate ]]; then
|
if [[ $waitforstate ]]; then
|
||||||
# install all for a manager
|
# install all for a manager
|
||||||
logCmd "dnf -y install salt-$SALTVERSION salt-master-$SALTVERSION salt-minion-$SALTVERSION"
|
logCmd "dnf -y install salt-$SALTVERSION salt-master-$SALTVERSION salt-minion-$SALTVERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user