Comment 1 for bug 1808707

Revision history for this message
Lee Trager (ltrager) wrote :

Thanks for the suggestion. While MAAS does not support this natively it does support custom cloud-init user-data scripts. You can create a cloud-init script which adds users[1] and pass it to MAAS using the CLI as follows

$ maas $PROFILE deploy $SYSTEM_ID user_data=$(base64 $SCRIPT)

[1] https://cloudinit.readthedocs.io/en/latest/topics/examples.html#including-users-and-groups