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.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1374166

Title:
  Document how to add swap space on Azure resource disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1374166/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to