mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update soup
This commit is contained in:
@@ -139,6 +139,7 @@ update_version() {
|
|||||||
# Update the version to the latest
|
# Update the version to the latest
|
||||||
echo "Updating the version file."
|
echo "Updating the version file."
|
||||||
echo $NEWVERSION > /etc/soversion
|
echo $NEWVERSION > /etc/soversion
|
||||||
|
sed -i 's/$INSTALLEDVERSION/$NEWVERISON/g' /opt/so/saltstack/local/pillar/static.sls
|
||||||
}
|
}
|
||||||
|
|
||||||
upgrade_check() {
|
upgrade_check() {
|
||||||
@@ -178,3 +179,5 @@ update_dockers
|
|||||||
copy_new_files
|
copy_new_files
|
||||||
highstate
|
highstate
|
||||||
update_version
|
update_version
|
||||||
|
echo ""
|
||||||
|
echo "Upgrade from $INSTALLEDVERSION to $NEWVERSION complete."
|
||||||
|
|||||||
Reference in New Issue
Block a user