maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #01391
Re: MAAS nodes and swap
-
To:
maas-devel@xxxxxxxxxxxxxxxxxxx
-
From:
Julian Edwards <julian.edwards@xxxxxxxxxxxxx>
-
Date:
Tue, 12 Nov 2013 09:32:59 +1000
-
In-reply-to:
<CANYNYEFE+PML1Br64d5S9FG8SJ=ZhqNuJ=TnNbbVxijF_UTfBQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
On 11/11/13 23:52, Andreas Hasenack wrote:
> On Mon, Nov 11, 2013 at 10:00 AM, Andreas Hasenack
> <andreas@xxxxxxxxxxxxx <mailto:andreas@xxxxxxxxxxxxx>> wrote:
>
> Hi, thanks for the pointers.
>
> I'm looking at /etc/maas/preseeds, and some of those files are
> cloud-config files. In particular I see curtin_userdata, which seems
> to imply that I could add my swap setup script in there, and have it
> used by the fastpath installer (curtin).
>
> Attached is what I came up with for when using the fastpath installer.
> If you have a second disk (vdb), it will use that as swap. Otherwise, it
> will create a swap file image on /.
Nice! I'm not sure if we want this as default but I might throw it in
contrib/ to keep for others.
At some point in the near future you'll be able to pass this sort of
thing into Curtin right from the API.
Follow ups
References