maas admin machine commission <SYSID> enable_ssh=true testing_scripts="none"
USER_DATA=$(base64 -w0 <<'YAML'
#cloud-config
users:
- name: ubuntu
groups: sudo
shell: /bin/bash
sudo: "ALL=(ALL) NOPASSWD:ALL"
ssh_import_id: gh:your-github-username
YAML
)
maas admin machine deploy <SYSID> os=ubuntu release=noble user_data="$USER_DATA"
ssh ubuntu@ace-01
CC BY-NC 2025 stormrider