Add kmod package and call load_tun.sh before vpnagentd
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-24 23:43:37 +00:00
parent b71fe3bf95
commit d4acbfa5fc
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ ENV container=docker
# Install systemd and required packages # Install systemd and required packages
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
systemd systemd-sysv dbus dbus-x11 \ systemd systemd-sysv dbus dbus-x11 \
iproute2 iptables ca-certificates \ iproute2 iptables ca-certificates kmod \
curl wget openssh-client \ curl wget openssh-client \
x11vnc xvfb fluxbox novnc websockify xterm nano oathtool \ x11vnc xvfb fluxbox novnc websockify xterm nano oathtool \
xauth libnss3 libatk1.0-0 libatk-bridge2.0-0 \ xauth libnss3 libatk1.0-0 libatk-bridge2.0-0 \

View File

@@ -37,6 +37,8 @@ start_gui() {
} }
start_vpnagent() { start_vpnagent() {
# Load TUN module if needed
/opt/cisco/secureclient/bin/load_tun.sh 2>/dev/null || true
# Start Cisco VPN agent daemon # Start Cisco VPN agent daemon
/opt/cisco/secureclient/bin/vpnagentd & /opt/cisco/secureclient/bin/vpnagentd &
pids+=($!) pids+=($!)