aboutsummaryrefslogtreecommitdiffstats
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>2018-01-04 00:06:54 +0100
commit72618c6029969f26b574438f5b07a881b072ee90 (patch)
tree6752146470aaac2ea1cdd96f1af9d9fc8e245840 /mcp/scripts/user-data.template
parent4c32ab7cd0c86254019542fea65b6130248ea2e6 (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> (cherry picked from commit feb877785544a31a18ae2f0ee2900a82e7ac4337)
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