summaryrefslogtreecommitdiffstats
path: root/ci/cleanmaas.sh
blob: 1cad80dd8f489e65877c24d679a1088a19d415c9 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

set -ex

echo "removing existing maas ..."
sudo apt-get purge maas maas-cli maas-common maas-dhcp maas-dns maas-proxy maas-rack-controller maas-region-api maas-region-controller  -y
sudo rm -rf /var/lib/maas
sudo snap remove maas || true