From 933966c80a81fa0da337d3cef82c9fa6177d17e4 Mon Sep 17 00:00:00 2001 From: Teja Swaroop Pothala Date: Tue, 5 Nov 2024 21:47:18 +0530 Subject: [PATCH] Fix salt-common installation on REMnux in develop --- src/ubuntu/install/remnux/install_remnux.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ubuntu/install/remnux/install_remnux.sh b/src/ubuntu/install/remnux/install_remnux.sh index 2ab42bc..929127d 100644 --- a/src/ubuntu/install/remnux/install_remnux.sh +++ b/src/ubuntu/install/remnux/install_remnux.sh @@ -2,13 +2,14 @@ set -x -# Install Salt -wget -nv -O - https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest/salt-archive-keyring.gpg | apt-key add - -echo deb [arch=amd64] https://repo.saltproject.io/py3/ubuntu/20.04/amd64/3004 focal main > /etc/apt/sources.list.d/saltstack.list +mkdir -p /etc/apt/keyrings +curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | sudo tee /etc/apt/keyrings/salt-archive-keyring.pgp +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 install -y salt-common git clone https://github.com/REMnux/salt-states.git /srv/salt + # Install remnux tools export HOME=/root salt-call -l info --local state.sls remnux.addon pillar='{"remnux_user": "remnux"}'