← Back to team overview

maas-devel team mailing list archive

Re: MAAS nodes and swap

 

On 08/11/13 21:55, Andreas Hasenack wrote:
> On Thu, Nov 7, 2013 at 9:47 PM, Julian Edwards
> <julian.edwards@xxxxxxxxxxxxx <mailto:julian.edwards@xxxxxxxxxxxxx>> 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.


Follow ups

References