Skip to content

Commit

Permalink
Use the backwards compatible /run/cos/active_mode
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  • Loading branch information
frelon committed Dec 15, 2023
1 parent 7a95cd7 commit 09e9fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/files/usr/sbin/suc-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RELEASE_FILE="${RELEASE_FILE:-/etc/os-release}"
CONF_FILE="${CONF_FILE:-/run/data/cloud-config}"
LOCK_TIMEOUT="${LOCK_TIMEOUT:-600}"
LOCK_FILE="${LOCK_FILE:-$HOST_DIR/run/elemental/upgrade.lock}"
ACTIVE_FILE="${ACTIVE_FILE:-$HOST_DIR/run/elemental/active_mode}"
ACTIVE_FILE="${ACTIVE_FILE:-$HOST_DIR/run/cos/active_mode}"

mkdir -p $HOST_DIR/run/elemental

Expand Down

0 comments on commit 09e9fb1

Please sign in to comment.