How to uninstall MAAS

I accidentally selected the options to install MAAS on a fresh install of Ubuntu 12.04. In order to remove the server/service, is it just a matter of "sudo apt-get remove maas"?

1

4 Answers

To round out:

sudo apt-get purge maas maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns maas-region-controller python-django-maas python-maas-client python-maas-provisioningserver ; apt-get autoremove

The Best way is using :

sudo maas init

Are you sure you want to initialize again (yes/no) [default=no]?

yes

Mode (all/region+rack/region/rack/none) [default=all]?

none

This will disconnect your MAAS from the running database. Are you sure you want to disconnect the database (yes/no) [default=no]?

yes

MAAS and services should be stoped.


And to complete remove of bin:

snap remove maas maas-cli

I think the answer is yes that is the command to remove a program.

enter image description here

It shouldn't remove any other dependancies, they are files other programs use.

Use purge to remove config files.

sudo apt-get purge maas
2

Right maas uninstalling:

sudo apt-get purge maas ; sudo apt-get autoremove

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like