summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/user-data.template
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-27 01:29:32 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-27 17:31:54 +0100
commitfeb877785544a31a18ae2f0ee2900a82e7ac4337 (patch)
tree1bc5dbfb6ee1468746e0e0db2eb290ef98a434d9 /mcp/scripts/user-data.template
parent6ead32f737f39e3d82e1484a9d31f07ed2daeadb (diff)
AArch64: base image: pre-install salt-minion
While at it, rename apt repo in foundation node user-data template from "salt" to "saltstack", to align with reclass model naming. Change-Id: I5b216492349ae187b568884b1ab4046c52b1c6b2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts/user-data.template')
-rw-r--r--mcp/scripts/user-data.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/user-data.template b/mcp/scripts/user-data.template
index 6752039bf..b6544774c 100644
--- a/mcp/scripts/user-data.template
+++ b/mcp/scripts/user-data.template
@@ -11,7 +11,7 @@ if [ "$(uname -i)" = "aarch64" ]; then
SALT_REPO=linux.enea.com/saltstack/apt/ubuntu/16.04/arm64/2016.11
fi
wget -O - "https://${SALT_REPO}/SALTSTACK-GPG-KEY.pub" | sudo apt-key add -
-echo "deb https://${SALT_REPO} xenial main" > /etc/apt/sources.list.d/salt.list
+echo "deb https://${SALT_REPO} xenial main" > /etc/apt/sources.list.d/saltstack.list
apt update
apt-get install -y salt-minion
rm /etc/salt/minion_id