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.
This commit is contained in:
Andrii Melashchenko 2024-07-15 10:33:54 +02:00 committed by GitHub
parent 8166b71854
commit 272ed35db8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]"
;;