duh, Laney is right, we can do 1G straight away.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2020-10-15 11:44:26 +02:00
parent af0356e402
commit 5d0e1c602a

View File

@ -21,7 +21,7 @@ if [ "$IMAGEFORMAT" == "none" ]; then
echo "LABEL=writable / ext4 defaults,x-systemd.growfs 0 0" >>/etc/fstab
# Create a 1GB swapfile
dd if=/dev/zero of=/swapfile bs=1M count=1024
dd if=/dev/zero of=/swapfile bs=1G count=1
chmod 0600 /swapfile
mkswap /swapfile