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

This commit is contained in:
Robert Kaussow 2024-04-15 16:12:20 +02:00
parent c455d71381
commit 681de87cee
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 5 additions and 0 deletions

View File

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