How to create disk partitions in batches

Hello All

I plan to use maas to deploy to 100 machines. Each server has the same CPU, the same disk size and number;
The server needs to use the same disk partition to deploy centos7

/boot/ 1G
/ 100G
/data all

I now have to create disk partitions one by one. Then deploy. This efficiency is too low.
Is there any quick way? , For example, save disk partitions as templates and apply them to all machines in batches.

Thank you all for your help anyway!

@Jerry, did you ever work this out? i haven’t used them, but i know there are some templates, including storage templates, that can be used for this.

@billwear, I don’t think those templates you linked are for storage and as far as I can tell there is still no way to customize the existing storage templates/layouts (which aren’t suitable in most cases).

See existing feature request: Custom storage/network layouts

1 Like

np, @szeestraten, just throwing it out there. :slight_smile:

We did not solve this problem on the UI of MAAS,

We solved it temporarily by repeating the scheduling API

closing this one as a feature request has been submitted.