mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Add old api key to pillar during soup
This commit is contained in:
@@ -252,9 +252,13 @@ rc3_to_2.3.0() {
|
|||||||
if [ ! -f /etc/profile.d/securityonion.sh ]; then
|
if [ ! -f /etc/profile.d/securityonion.sh ]; then
|
||||||
echo "complete -cf sudo" > /etc/profile.d/securityonion.sh
|
echo "complete -cf sudo" > /etc/profile.d/securityonion.sh
|
||||||
fi
|
fi
|
||||||
# Add Redis settings to global pillar
|
|
||||||
echo "redis_settings:" >> /opt/so/saltstack/local/pillar/global.sls
|
{
|
||||||
" redis_maxmemory: 827" >> /opt/so/saltstack/local/pillar/global.sls
|
echo "redis_settings:"
|
||||||
|
echo " redis_maxmemory: 827"
|
||||||
|
echo "playbook:"
|
||||||
|
echo " api_key: de6639318502476f2fa5aa06f43f51fb389a3d7f"
|
||||||
|
} >> /opt/so/saltstack/local/pillar/global.sls
|
||||||
}
|
}
|
||||||
|
|
||||||
space_check() {
|
space_check() {
|
||||||
|
|||||||
Reference in New Issue
Block a user