mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 23:05:54 +00:00
Update saltstack-install.sh
This commit is contained in:
@@ -27,13 +27,6 @@ msg_ok "Setup Salt repo"
|
||||
|
||||
msg_info "Installing Salt Master"
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/saltstack/salt/releases/latest | jq -r .tag_name | sed 's/^v//')
|
||||
|
||||
cat <<EOF >/etc/apt/preferences.d/salt-pin-1001
|
||||
Package: salt-*
|
||||
Pin: version ${RELEASE}
|
||||
Pin-Priority: 1001
|
||||
EOF
|
||||
|
||||
$STD apt-get install -y salt-master
|
||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||
msg_ok "Installed Salt Master"
|
||||
|
||||
Reference in New Issue
Block a user