is there syntax for specifying the root pool layout across multiple devices, or is it still just a sort of single partition type of install? is there custom config options for some of the other “special” layout types, like specifying the metadata version for mdadm arrays, etc? what about partitioning options, such as partition type and name?
also, the docs say “upload the script to maas”, but where inside the filesystem should custom changes be uploaded? I can see the other provisioning scripts inside /snap/maas/current/lib/python3.8/site-packages/provisioningserver/refresh/, but that doesn’t feel like the right place for custom scripts to live. and it appears to be mounted read-only.
it’d also be great to have documentation on the contents and structure of the $MAAS_RESOURCES_FILE, so it’s clearer how to actually leverage in the custom storage script.