Comment 18 for bug 1374166

Revision history for this message
Dan Watkins (oddbloke) wrote : Re: [Bug 1374166] Re: Document how to add swap space on Azure resource disk

Hi David,

On 31/05/15 09:45, David Frank wrote:
> So I ended up on this page and found the conclusion is azure cloud-init
> doesn't support adding a swap through configuration, is that true?
>
> ...
>
> I have read both:
>
> - https://wiki.ubuntu.com/AzureSwapPartitions
> - https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-agent-user-guide/
>
> Yet I am still not sure how could I edit my configuration to create a
> swap through cloud-init on next boot. If this is fixed and released,
> then please help point me and whoever comes next to the right doc.
>

The wiki page has a pretty comprehensive description of how you can add
a swap partition using cloud-init configuration, including a full
configuration that will actually do it at the bottom of the page, so I'm
not really sure how you're drawing that conclusion.

That said, if that documentation doesn't apply to your case or is in
some way unclear, please let me know and I'll do my best to amend it. :)

Thanks,

Dan