Add verbose modprobe replacement

This commit is contained in:
Lauri Võsandi 2021-04-22 13:57:51 +03:00
parent b4d66382d9
commit c79870c506

View File

@ -14,6 +14,12 @@ RUN apt-get install -y -qq \
openvpn \
strongswan
# Dump on console what modules StrongSwan attempts to load
RUN echo '#!/bin/bash' > /usr/sbin/modprobe
RUN echo 'echo Attempting to load modules: $@' >> /usr/sbin/modprobe
RUN cat /usr/sbin/modprobe
RUN chmod +x /usr/sbin/modprobe
COPY entrypoint-openvpn.sh /entrypoint-openvpn.sh
COPY entrypoint-strongswan.sh /entrypoint-strongswan.sh
COPY pinecrypt/client/. /src/pinecrypt/client