Created
May 29, 2015 12:21
-
-
Save masimplo/73d1a75bb37676fb4c3f to your computer and use it in GitHub Desktop.
Enable swap in Azure Linux VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit the file /etc/waagent.conf | |
Toggle the option ResourceDisk.Format from 'n' to 'y' | |
Toggle the option ResourceDisk.EnableSwap from 'n' to 'y' | |
Add the swapspace size to the option ResourceDisk.SwapSizeMB | |
reboot the machine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment