Add kmod package and call load_tun.sh before vpnagentd
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
@@ -5,7 +5,7 @@ ENV container=docker
|
||||
# Install systemd and required packages
|
||||
RUN apt-get update && apt-get install -y \
|
||||
systemd systemd-sysv dbus dbus-x11 \
|
||||
iproute2 iptables ca-certificates \
|
||||
iproute2 iptables ca-certificates kmod \
|
||||
curl wget openssh-client \
|
||||
x11vnc xvfb fluxbox novnc websockify xterm nano oathtool \
|
||||
xauth libnss3 libatk1.0-0 libatk-bridge2.0-0 \
|
||||
|
||||
@@ -37,6 +37,8 @@ start_gui() {
|
||||
}
|
||||
|
||||
start_vpnagent() {
|
||||
# Load TUN module if needed
|
||||
/opt/cisco/secureclient/bin/load_tun.sh 2>/dev/null || true
|
||||
# Start Cisco VPN agent daemon
|
||||
/opt/cisco/secureclient/bin/vpnagentd &
|
||||
pids+=($!)
|
||||
|
||||
Reference in New Issue
Block a user