fix: add min swapfile to avoid bootstrap issues
This commit is contained in:
parent
c455d71381
commit
681de87cee
@ -126,6 +126,11 @@ jq
|
|||||||
### 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
|
||||||
|
Loading…
Reference in New Issue
Block a user