fix: add min swapfile to avoid bootstrap issues #7
@ -128,6 +128,11 @@ grubby
|
||||
### 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
|
||||
|
Loading…
Reference in New Issue
Block a user