From f4db94a3b098b97a3b6f6eb1e145ae538072a23e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 17 Apr 2024 09:58:04 +0200 Subject: [PATCH] fix: use default mount options for swap --- rocky-9/data/init.ks.pkrtpl.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocky-9/data/init.ks.pkrtpl.hcl b/rocky-9/data/init.ks.pkrtpl.hcl index c9fa10b..521a612 100644 --- a/rocky-9/data/init.ks.pkrtpl.hcl +++ b/rocky-9/data/init.ks.pkrtpl.hcl @@ -131,7 +131,7 @@ grubby dd if=/dev/zero of=/swapfile bs=1M count=1000 chmod 600 /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 install -y epel-release