Install kmod so we can load kernel modules
Libreswan tries to load a number of acceleration modules, but without
kmod, this fails (silently).
To actually be useful this will also require giving the container
access to /lib/modules; this will be done in the operator.
@@ -5,8 +5,9 @@ WORKDIR /var/submariner
# iproute is used internally
# libreswan provides IKE
+# kmod is required so that libreswan can load modules
RUN dnf -y install --nodocs --setopt=install_weak_deps=0 \
- iproute libreswan && \
+ iproute libreswan kmod && \
dnf -y clean all
COPY package/submariner.sh package/pluto bin/${TARGETPLATFORM}/submariner-gateway /usr/local/bin/
