[Maas-devel] MAAS nodes and swap
Julian Edwards
julian.edwards at canonical.com
Mon Nov 11 01:43:26 UTC 2013
On 08/11/13 21:55, Andreas Hasenack wrote:
> On Thu, Nov 7, 2013 at 9:47 PM, Julian Edwards
> <julian.edwards at canonical.com <mailto:julian.edwards at canonical.com>> wrote:
>
> Also, have a close look at https://help.ubuntu.com/community/CloudInit
> to see if anything can help you.
>
>
> cloud-init would help for sure, but how can I inject it?
You can run scripts as part of cloud-init, so you'd be able to write one
to set up some swap. Just add the script to the user data that's passed
to MAAS, or edit the contrib/preseeds_v2/generic template's post_scripts
section.
More information about the Maas-devel
mailing list