Install kernel-modules in warewulf rocky-8 image

Without the kernel-modules package installed I was not able to use apptainer, as squashfs was not available.
This commit is contained in:
Jonathon Anderson
2022-07-01 10:42:58 -06:00
committed by Jonathon Anderson
parent cb0a7b402e
commit e72e382211

View File

@@ -11,6 +11,7 @@ RUN dnf update -y ;\
ipmitool \
iproute \
kernel-core \
kernel-modules \
net-tools \
network-scripts \
nfs-utils \
@@ -43,4 +44,4 @@ RUN sed -i -e '/^account.*pam_unix\.so\s*$/s/\s*$/\ broken_shadow/' /etc/pam.d/s
echo "export LANG LC_CTYPE" >> /etc/warewulf/container_exit.sh ;\
echo "dnf clean all" >> /etc/warewulf/container_exit.sh ;\
echo "/boot/" > /etc/warewulf/excludes ;\
echo "/usr/share/GeoIP" >> /etc/warewulf/excludes
echo "/usr/share/GeoIP" >> /etc/warewulf/excludes