From 272ed35db8e70e2db4c3133337e472674d394540 Mon Sep 17 00:00:00 2001 From: Andrii Melashchenko <6060861+javatask@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:33:54 +0200 Subject: [PATCH] Update bootstrap-salt.sh On arm64 platforms, bootstrap fails to finish installation due to missing variable 'error_msg=""' in case statement. This change adds a single line to fix the bug. --- bootstrap-salt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 23052e9..ec07b9c 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1389,6 +1389,7 @@ __check_dpkg_architecture() { ;; "arm64") # Saltstack official repository has full arm64 support since 3006 + error_msg="" __REPO_ARCH="arm64" __REPO_ARCH_DEB="deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=$__REPO_ARCH]" ;;