mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-07 08:44:07 +01:00
Fix salt-common installation on REMnux in develop
This commit is contained in:
parent
c8b6b0e767
commit
933966c80a
@ -2,13 +2,14 @@
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|
||||||
# Install Salt
|
mkdir -p /etc/apt/keyrings
|
||||||
wget -nv -O - https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest/salt-archive-keyring.gpg | apt-key add -
|
curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | sudo tee /etc/apt/keyrings/salt-archive-keyring.pgp
|
||||||
echo deb [arch=amd64] https://repo.saltproject.io/py3/ubuntu/20.04/amd64/3004 focal main > /etc/apt/sources.list.d/saltstack.list
|
curl -fsSL https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources | sudo tee /etc/apt/sources.list.d/salt.sources
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y salt-common
|
apt-get install -y salt-common
|
||||||
git clone https://github.com/REMnux/salt-states.git /srv/salt
|
git clone https://github.com/REMnux/salt-states.git /srv/salt
|
||||||
|
|
||||||
|
|
||||||
# Install remnux tools
|
# Install remnux tools
|
||||||
export HOME=/root
|
export HOME=/root
|
||||||
salt-call -l info --local state.sls remnux.addon pillar='{"remnux_user": "remnux"}'
|
salt-call -l info --local state.sls remnux.addon pillar='{"remnux_user": "remnux"}'
|
||||||
|
Loading…
Reference in New Issue
Block a user