From 1d8952db43bd1eabc9649681c9a6adc8b431f189 Mon Sep 17 00:00:00 2001 From: reyesj2 <94730068+reyesj2@users.noreply.github.com> Date: Fri, 6 Feb 2026 13:43:36 -0600 Subject: [PATCH] unmount current iso before intermediate upgrade runs --- salt/manager/tools/sbin/soup | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index 335dbf499..cd164ab11 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -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:"