diff options
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 3985896e..2792759f 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -210,7 +210,8 @@ deploy() { do maas $PROFILE machine delete $m || true done - maas $PROFILE pod delete 1 || true + podno=$(maas $PROFILE pods read | jq -r ".[]".id) + maas $PROFILE pod delete $podno || true ./cleanvm.sh || true |