From cc4c85fe41f4ad244fbf15c1874410b76259d87c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 17 Apr 2024 09:58:14 +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 fa1203a..a8397a4 100644 --- a/rocky-9/data/init.ks.pkrtpl.hcl +++ b/rocky-9/data/init.ks.pkrtpl.hcl @@ -129,7 +129,7 @@ jq 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