Skip to content

Commit

Permalink
Update bootstrap-salt.sh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
javatask authored Jul 15, 2024
1 parent 8166b71 commit 272ed35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
;;
Expand Down

0 comments on commit 272ed35

Please sign in to comment.