← Back to team overview

maas-devel team mailing list archive

Re: MAAS nodes and swap

 

On Mon, Nov 11, 2013 at 9:32 PM, Julian Edwards <
julian.edwards@xxxxxxxxxxxxx> wrote:

> 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.
>
>
Oh, please don't add it by default, it's very specific :) Could be a good
thing for contrib/, sure, or even just the documentation.



> At some point in the near future you'll be able to pass this sort of
> thing into Curtin right from the API.
>


Nice! :)

References