From 4b1c606b6e139518b20832d0783cff9dc8aca328 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 14 Dec 2017 02:33:28 +0100 Subject: [baremetal] Upgrade packages on kvm, cmp nodes too MaaS installs a few packages via curtin, which don't get upgraded later, even if we add extra repos (it will be the case for novcp). Perform a package upgrade on all baremetal nodes, as it's also a good security practice. JIRA: FUEL-310 Change-Id: Ib365e42a0d2f65813fc9bef516326ec89fe407de Signed-off-by: Alexandru Avadanii --- mcp/config/states/baremetal_init | 1 + 1 file changed, 1 insertion(+) (limited to 'mcp/config/states') diff --git a/mcp/config/states/baremetal_init b/mcp/config/states/baremetal_init index 7b532da52..a8bb3b970 100755 --- a/mcp/config/states/baremetal_init +++ b/mcp/config/states/baremetal_init @@ -31,3 +31,4 @@ wait_for 90 "! salt -C 'kvm* or cmp*' test.ping | " \ "tee /dev/stderr | grep -Fq 'Not connected'" salt -C 'kvm* or cmp*' state.apply linux,ntp,salt.minion +salt -C 'kvm* or cmp*' pkg.upgrade refresh=False -- cgit 1.2.3-korg