mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-08 08:13:35 +01:00
unmount current iso before intermediate upgrade runs
This commit is contained in:
@@ -1784,7 +1784,7 @@ verify_es_version_compatibility() {
|
||||
# We expect to upgrade to the latest compatiable minor version of ES
|
||||
create_intermediate_upgrade_verification_script $es_verification_script
|
||||
|
||||
if [[ $is_airgap -eq 0 ]]; then
|
||||
if [[ $is_airgap -eq 0 ]] || [[ $nonairgap_useiso -eq 0 ]] ; then
|
||||
run_airgap_intermediate_upgrade
|
||||
else
|
||||
run_network_intermediate_upgrade
|
||||
@@ -1798,6 +1798,11 @@ run_airgap_intermediate_upgrade() {
|
||||
# preserve ISOLOC value, so we can try to use it post intermediate upgrade
|
||||
local originally_requested_iso_location="$ISOLOC"
|
||||
|
||||
if [[ -d /tmp/soagupdate ]]; then
|
||||
echo -e "\nUnmounting current ISO before running intermediate upgrade\n"
|
||||
unmount_update
|
||||
fi
|
||||
|
||||
echo "You can download the $next_step_so_version ISO image from https://download.securityonion.net/file/securityonion/securityonion-$next_step_so_version.iso"
|
||||
echo -e "\nIf you have the next ISO / USB ready, enter the path now eg. /dev/sdd, /home/onion/securityonion-$next_step_so_version.iso:"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user