Created
January 16, 2015 19:25
-
-
Save gabrtv/26832b547819f917b118 to your computer and use it in GitHub Desktop.
Enable 512MB swap on CoreOS
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
fallocate -l 512m /512MiB.swap | |
chmod 600 /512MiB.swap | |
mkswap /512MiB.swap | |
losetup -f /512MiB.swap | |
/sbin/swapon /dev/loop0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment