<div dir="ltr">On Mon, Nov 11, 2013 at 9:32 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 11/11/13 23:52, Andreas Hasenack wrote:<br>
> On Mon, Nov 11, 2013 at 10:00 AM, Andreas Hasenack<br>
</div><div><div class="h5">> <<a href="mailto:andreas@canonical.com">andreas@canonical.com</a> <mailto:<a href="mailto:andreas@canonical.com">andreas@canonical.com</a>>> wrote:<br>
><br>
> Hi, thanks for the pointers.<br>
><br>
> I'm looking at /etc/maas/preseeds, and some of those files are<br>
> cloud-config files. In particular I see curtin_userdata, which seems<br>
> to imply that I could add my swap setup script in there, and have it<br>
> used by the fastpath installer (curtin).<br>
><br>
> Attached is what I came up with for when using the fastpath installer.<br>
> If you have a second disk (vdb), it will use that as swap. Otherwise, it<br>
> will create a swap file image on /.<br>
<br>
</div></div>Nice! I'm not sure if we want this as default but I might throw it in<br>
contrib/ to keep for others.<br>
<br></blockquote><div><br></div><div>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.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At some point in the near future you'll be able to pass this sort of<br>
thing into Curtin right from the API.<br>
<div class="HOEnZb"><div class="h5"></div></div></blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Nice! :)</div><div class="gmail_extra"><br></div></div>