File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ Because of the way OpenConnect works with the particular Global Protect VPN
9
9
endpoint I'm using (requires a 2FA auth based on an Okta prompt) I actually
10
10
didn't put the connection script in the container image itself.
11
11
12
- Instead I just put a generic entrypoint shell script in there that does nothing.
13
- I pre-loaded the binaries for TOTP creation and the openconnect client in the
14
- image.
12
+ Instead I just put a generic entrypoint shell script in there that does
13
+ nothing. I pre-loaded the binaries for TOTP creation and the openconnect
14
+ client in the image.
15
15
16
- Then I bind-mount a shell script from a /mnt/data dir.
16
+ Then I bind-mount a shell script from a ` /mnt/data ` sub-directory (so it persists
17
+ across upgrades).
17
18
18
19
And finally I overload the command at runtime to execute that script instead
19
20
of the built-in info-message/generic entrypoint script.
20
21
21
-
22
22
## Usage:
23
23
24
24
Edit ` connect-example.sh ` to match your needs (or create a different
You can’t perform that action at this time.
0 commit comments