<div dir="ltr">On Sun, Nov 10, 2013 at 11:43 PM, Julian Edwards <span dir="ltr"><<a href="mailto:julian.edwards@canonical.com" target="_blank">julian.edwards@canonical.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/11/13 21:55, Andreas Hasenack wrote:<br>
> On Thu, Nov 7, 2013 at 9:47 PM, Julian Edwards<br>
</div><div class="im">> <<a href="mailto:julian.edwards@canonical.com">julian.edwards@canonical.com</a> <mailto:<a href="mailto:julian.edwards@canonical.com">julian.edwards@canonical.com</a>>> wrote:<br>
><br>
> Also, have a close look at <a href="https://help.ubuntu.com/community/CloudInit" target="_blank">https://help.ubuntu.com/community/CloudInit</a><br>
> to see if anything can help you.<br>
><br>
><br>
> cloud-init would help for sure, but how can I inject it?<br>
<br>
</div>You can run scripts as part of cloud-init, so you'd be able to write one<br>
to set up some swap. Just add the script to the user data that's passed<br>
to MAAS, or edit the contrib/preseeds_v2/generic template's post_scripts<br>
section.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Hi, thanks for the pointers.</div><div><br></div><div>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).</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
--<br>
Mailing list: <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
Post to : <a href="mailto:maas-devel@lists.launchpad.net">maas-devel@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div></div>