Update file run_onchange_before_11-configure-swap.tmpl
This commit is contained in:
parent
9bc59a0e0f
commit
a2b449817b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue