Read maas-setup.sh. The script is not fully automated and requires manual intervention at times. Read the comments to understand the process.
## Requirements
You need a reasonably powerful machine, 4 or more cores with 32 GB of RAM and 500GB of free disk space. Assumes a fresh install of Ubuntu server on the machine.