summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2019-01-15 13:52:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-01-15 13:52:05 +0000
commitb9e7d9baa57594b7627556c0429ae17328f33a4d (patch)
treec3bde94258ce7eddd6af8683980d6109fcc3e2e8 /mcp
parent23cde5e487c14c06d752bb671b0b9751350c35bc (diff)
parent267bd35d4b7656a7eb0236fa04acbbaba76f5da3 (diff)
Merge "[baremetal] Shutdown nodes from previous deploy"
Diffstat (limited to 'mcp')
-rw-r--r--mcp/scripts/lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 947361e29..79767f0fa 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -47,6 +47,7 @@ function cleanup_uefi {
efibootmgr | grep -oP '(?<=Boot)[0-9]+(?=.*ubuntu)' | \
xargs -I{} efibootmgr --delete-bootnum --bootnum {}; \
rm -rf /boot/efi/*\"" || true
+ ${cmd_str} "sudo salt -C 'kvm* or cmp*' cmd.run 'shutdown now'" || true
}
function get_nova_compute_pillar_data {