fix: use default mount options for swap
This commit is contained in:
parent
1b231a09a9
commit
f4db94a3b0
|
@ -131,7 +131,7 @@ grubby
|
||||||
dd if=/dev/zero of=/swapfile bs=1M count=1000
|
dd if=/dev/zero of=/swapfile bs=1M count=1000
|
||||||
chmod 600 /swapfile
|
chmod 600 /swapfile
|
||||||
mkswap /swapfile
|
mkswap /swapfile
|
||||||
echo '/swapfile none swap sw 0 0' | tee -a /etc/fstab
|
echo '/swapfile none swap defaults 0 0' | tee -a /etc/fstab
|
||||||
|
|
||||||
dnf makecache
|
dnf makecache
|
||||||
dnf install -y epel-release
|
dnf install -y epel-release
|
||||||
|
|
Loading…
Reference in New Issue
Block a user