Created
July 4, 2025 10:14
-
-
Save mastier/d77e83195a6ac312c1e5efce70a459fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add to /var/snap/maas/current/preseeds/curtin_userdata | |
| late_commands: | |
| 00_maas: [wget, '--no-proxy', {{node_disable_pxe_url|escape.json}}, '--post-data', {{node_disable_pxe_data|escape.json}}, '-O', '/dev/null'] | |
| 10_adduser: ["curtin", "in-target", "--", "sh", "-c", "adduser --disabled-password --gecos '' maas"] | |
| 20_addpwd: ["curtin", "in-target", "--", "sh", "-c", "echo 'maas:maas' | chpasswd"] | |
| 30_addsudo: ["curtin", "in-target", "--", "sh", "-c", "usermod -aG sudo maas"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment