Update file run_onchange_before_11-configure-swap.tmpl

This commit is contained in:
Brian Zalewski 2023-01-25 12:03:58 +00:00
parent 9bc59a0e0f
commit a2b449817b

View file

@ -19,7 +19,7 @@ if [ ! -f /swapfile ]; then
fi
logg info "Creating a $SWAP_SPACE GB /swapfile"
sudo fallocate -l "$SWAP_SPACE" /swapfile
sudo fallocate -l "${SWAP_SPACE}G" /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile