Fixed (somehow)

This commit is contained in:
Dionysus 2024-02-16 14:52:52 -05:00
parent e6dd721e6d
commit b7acf4c4eb
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 1 additions and 1 deletions

2
vps
View File

@ -78,7 +78,7 @@ setup_chroot() {
echo "tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0" >> /etc/fstab
touch /swapfile
dd if=/dev/zero of=/swapfile bs=1M count=$SWAP_SIZE status=progress
dd if=/dev/zero of=/swapfile bs=1M count=$(($SWAP_SIZE_GB * 1024)) status=progress
chmod 0600 /swapfile
mkswap /swapfile && swapon /swapfile
echo "/swapfile none swap sw 0 0" >> /etc/fstab