Bake in .anyconnect_global preferences
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-25 00:24:43 +00:00
parent 6a04bd911a
commit a4c3f0bd9a
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectPreferences>
<DefaultUser></DefaultUser>
<DefaultSecondUser></DefaultSecondUser>
<ClientCertificateThumbprint></ClientCertificateThumbprint>
<MultipleClientCertificateThumbprints></MultipleClientCertificateThumbprints>
<ServerCertificateThumbprint></ServerCertificateThumbprint>
<DefaultHostName>vpn-ord1.dovercorp.com</DefaultHostName>
<DefaultHostAddress>162.209.24.100:443</DefaultHostAddress>
<DefaultGroup></DefaultGroup>
<ProxyHost></ProxyHost>
<ProxyPort></ProxyPort>
<SDITokenType>none</SDITokenType>
<ControllablePreferences>
<AutoConnectOnStart>true</AutoConnectOnStart>
<LocalLanAccess>true</LocalLanAccess></ControllablePreferences>
</AnyConnectPreferences>

View File

@@ -52,6 +52,9 @@ RUN tar -xzf /tmp/cisco-userdata.tar.gz -C /root && \
COPY vpn-sso.sh /root/vpn-sso.sh
RUN chmod +x /root/vpn-sso.sh
# Copy AnyConnect preferences
COPY .anyconnect_global /opt/cisco/secureclient/vpn/.anyconnect_global
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh