We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f12a0f commit dcd9d8dCopy full SHA for dcd9d8d
install.sh
@@ -5,14 +5,16 @@ set -euo pipefail
5
UBUNTU_VERSION=$(fgrep VERSION_ID /etc/os-release | cut -d\" -f2)
6
UBUNTU_CODENAME=$(fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2)
7
8
+apt-get update -y
9
+apt-get dist-upgrade -y
10
+apt-get install wget gnupg add-apt-key -y
11
+
12
wget -qO- "https://repo.saltstack.com/py3/ubuntu/${UBUNTU_VERSION}/amd64/latest/SALTSTACK-GPG-KEY.pub" | apt-key add -
13
14
cat <<EOF > /etc/apt/sources.list.d/saltstack.list
15
deb http://repo.saltstack.com/py3/ubuntu/${UBUNTU_VERSION}/amd64/latest ${UBUNTU_CODENAME} main
16
EOF
17
-apt-get update -y
-apt-get dist-upgrade -y
18
apt-get install salt-master salt-minion -y
19
20
cat <<EOF > /etc/salt/master
0 commit comments