← Back to team overview

maas-devel team mailing list archive

Re: maas custom partitioning

 

I think curtin is what needs to be told how to handle what you want,
suggest you focus there, patches welcome!

Mark

On 27/07/16 07:12, Artūras Ražinskij wrote:
> Hello,
>
> any news about it? I will be really thankful to you for any advice.
> Thanks again. 
>
> — 
> Regards
> Artūras Ražinskij
>
>
>
>
>
>
>> On 25 Jul 2016, at 11:35, Christian Robottom Reis <kiko@xxxxxxxxxxxxx
>> <mailto:kiko@xxxxxxxxxxxxx>> wrote:
>>
>> 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
>>> <https://launchpad.net/%7Emaas-devel>
>>> Post to     : maas-devel@xxxxxxxxxxxxxxxxxxx
>>> <mailto:maas-devel@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~maas-devel
>>> <https://launchpad.net/%7Emaas-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
>> <http://launchpad.net/%7Ekiko>
>
>
>

Attachment: signature.asc
Description: OpenPGP digital signature


References