sudo apt-add-repository ppa:maas/3.0 su - sudo apt-add-repository ppa:maas/3.0 sudo apt-get install software-properties-common sudo apt-add-repository ppa:maas/3.0 sudo apt update sudo apt-get -y install maas sudo apt install maas-region-controller sudo apt install maas-rack-controller sudo maas-rack register sudo maas createadmin --username=maasuser --email=mail@orange.fr sudo maas status sudo maas createadmin --username=maasuser --email=mail@orange.fr sudo maas createadmin sudo maas apikey --username=maasuser > api-key-file cat api-key-file maas login admin http://192.168.5.65:5240/MAAS < api-key-file maas login maasuser http://192.168.5.65:5240/MAAS < api-key-file nano /etc/network/interfaces nano /etc/netplan/*.yaml ip a sudo reboot ip a exit nano /etc/netplan/*.yaml sudo nano /etc/netplan/*.yaml sudo cp /etc/netplan/*.yaml /etc/netplan/*.yaml.orig sudo nano /etc/netplan/*.yaml netplan apply sudo nano /etc/netplan/*.yaml netplan apply sudo nano /etc/netplan/*.yaml netplan apply sudo netplan apply sudo shutdown -h now ip a exit