fix: add min swapfile to avoid bootstrap issues
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-04-15 16:15:09 +02:00
parent 54825bc7b7
commit 37a0a88e51
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -128,6 +128,11 @@ grubby
### Post-installation commands. ### Post-installation commands.
%post %post
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
dnf makecache dnf makecache
dnf install -y epel-release dnf install -y epel-release
dnf makecache dnf makecache