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?
Furthermore why isn't there a canonical doc or blog post that explain the correct way to add swap for Ubuntu VM on Azure?
I have seen examples that modify /etc/fstab, and examples that modify /etc/waagent.conf, as well as trying to use CustomData.
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.
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?
Furthermore why isn't there a canonical doc or blog post that explain the correct way to add swap for Ubuntu VM on Azure?
I have seen examples that modify /etc/fstab, and examples that modify /etc/waagent.conf, as well as trying to use CustomData.
I have read both:
- https:/ /wiki.ubuntu. com/AzureSwapPa rtitions /azure. microsoft. com/en- us/documentatio n/articles/ virtual- machines- linux-agent- user-guide/
- https:/
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.