summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/maas
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-22 15:36:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-22 15:36:01 +0000
commit4489699cb63fadb6939d5c70b49e84bb4f1ff17f (patch)
treecfb15692b4983b28013264ab4e0d92b0183ac6e5 /mcp/config/states/maas
parent5c0a09fbd0f377df56bfcfe94b262225a34f98ff (diff)
parent87310fb8edfe49b9621fe4410ae52d989072e3c5 (diff)
Merge "Adjust memory allocation size"
Diffstat (limited to 'mcp/config/states/maas')
-rwxr-xr-xmcp/config/states/maas3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas
index 0d733bafa..11c89c99b 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -111,3 +111,6 @@ wait_for 10 "! salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' state.apply linux,ntp |
wait_for 10 "salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' ssh.set_auth_key ${SUDO_USER} \
$(awk 'NR==1{print $2}' "$(eval echo "~${SUDO_USER}/.ssh/authorized_keys")")"
+
+# Get the latest packages
+salt '*' pkg.upgrade refresh=False