ci/deploy.sh: maas: cleanup_uefi on env erase 93/49793/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 9 Dec 2017 01:39:33 +0000 (02:39 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 30 Dec 2017 23:58:17 +0000 (23:58 +0000)
commitbd8a1eee7204d3c51bf17adb950b8b02ab36649b
tree7abb5e9d4bcc8f6b2ae558396a4bb9e33ade90bd
parente3bc5ad8ab4ace79f79ca3492beb76e6af8e0369
ci/deploy.sh: maas: cleanup_uefi on env erase

Running `ci/deploy.sh -EE` should also perform an UEFI boot option
cleanup, otherwise we risk booting the previously installed OS.

While at it, reduce delay between nodes removal and fix a rare failure
for `-EE` when no nodes are defined in MaaS.

Change-Id: I789ffd3e22545921216f7d5ee3509c76354542eb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 15173a83dba08729e62da277b9165677323675d8)
mcp/config/states/maas
mcp/scripts/lib.sh