ci/deploy.sh: maas: cleanup_uefi on env erase 07/48607/4
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 9 Dec 2017 01:39:33 +0000 (02:39 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 15 Dec 2017 19:35:09 +0000 (20:35 +0100)
commit15173a83dba08729e62da277b9165677323675d8
tree9f5b40bb20b6bc2852cb93c5384bea35a635a7a5
parent9eb05da8bc5618e4b95d396fcc932a7c0abb3bd6
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>
mcp/config/states/maas
mcp/scripts/lib.sh