← Back to team overview

maas-devel team mailing list archive

maas custom partitioning

 

Hi there,

I’m trying to build custom images for Debian, Centos, Windows etc. There weren’t any problems with it while I’m used only on disk for it. But now, I want to have software raid setup for it. As I understood, in case of custom partitioning for Ubuntu images, it uses:

builtin: [curtin, block-meta, custom] 

with "storage:” configuration, which it gets from MAAS, via preseed, I guess. 

In case of custom images partitioning, command would be:

builtin: [curtin, block-meta, simple]

which will use only one disk as target.

What I want to ask is how to make MAAS to pass custom storage configuration for non-ubuntu images? 

As I understood it should generate /curtin/configs/config-000.cfg file with custom RAID configuration here. In that case I will be able to use mdX device for installation with curtin-hooks. How to make it, via preseeds of somehow else?

I hope my question is clear. I hope you will be able to help me with it. Thanks. :)  

— 
Regards
Artūras Ražinskij







Follow ups