[Maas-devel] MAAS nodes and swap

Julian Edwards julian.edwards at canonical.com
Mon Nov 11 23:32:59 UTC 2013


On 11/11/13 23:52, Andreas Hasenack wrote:
> On Mon, Nov 11, 2013 at 10:00 AM, Andreas Hasenack
> <andreas at canonical.com <mailto:andreas at canonical.com>> 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.




More information about the Maas-devel mailing list