summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-02-25 17:47:42 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-02-25 17:47:42 +0100
commitf80d30f56b5de482c2212c72808c04f72940a6d3 (patch)
tree0de85fd7a979397f30be778d6a78d4b5ed7d7d9a /mcp
parented8fc8fe0b2ce8058b8c14e84c4119d93acc6f76 (diff)
[salt.sh] Add explicit apt-get update
Change-Id: I17e66457f90818bad4d746300bb49e9d5179c239 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp')
-rwxr-xr-xmcp/scripts/salt.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
index 4db84a279..fc5c78e68 100755
--- a/mcp/scripts/salt.sh
+++ b/mcp/scripts/salt.sh
@@ -73,6 +73,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END
apt-key adv --keyserver keys.gnupg.net --recv 798AB1D1
echo 'deb http://linux.enea.com/apt-mk/xenial nightly extra' > \
'/etc/apt/sources.list.d/armband_mcp_extra.list'
+ apt-get update
cd /srv/salt/scripts
export DEBIAN_FRONTEND=noninteractive