Skip to content

Instantly share code, notes, and snippets.

@gabrtv
Created January 16, 2015 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrtv/26832b547819f917b118 to your computer and use it in GitHub Desktop.
Save gabrtv/26832b547819f917b118 to your computer and use it in GitHub Desktop.
Enable 512MB swap on CoreOS
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