← Back to team overview

maas-devel team mailing list archive

Re: maas custom partitioning

 

Hello Artūras, thanks for asking as this has come up separately. Scott,
Blake, could you help clarify how this should be accomplished?

On Mon, Jul 25, 2016 at 10:29:06AM +0300, Artūras Ražinskij wrote:
> 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
> 
> 
> 
> 
> 
> 

> -- 
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp

-- 
Christian Robottom Reis             [+1] 612 888 4935 | [+55] 16 99112 6430
Canonical VP Storage & Automation         http://launchpad.net/~kiko


Follow ups

References