[salt.sh] Add explicit apt-get update 99/52599/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 25 Feb 2018 16:47:42 +0000 (17:47 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 25 Feb 2018 16:47:42 +0000 (17:47 +0100)
Change-Id: I17e66457f90818bad4d746300bb49e9d5179c239
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/scripts/salt.sh

index 4db84a2..fc5c78e 100755 (executable)
@@ -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