Make swapfile permanent by adding to fstab in install.sh

This commit is contained in:
Simon Edwards 2015-07-31 15:12:33 +01:00
parent 8f3b189f2a
commit 98f5430732
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo su -c "echo '/swapfile none swap sw 0 0' >> /etc/fstab"
# lxml deps
# libxml2-dev libxslt1-dev