Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shuguet committed Mar 17, 2024
1 parent 292037e commit 08bb9cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Because of the way OpenConnect works with the particular Global Protect VPN
endpoint I'm using (requires a 2FA auth based on an Okta prompt) I actually
didn't put the connection script in the container image itself.

Instead I just put a generic entrypoint shell script in there that does nothing.
I pre-loaded the binaries for TOTP creation and the openconnect client in the
image.
Instead I just put a generic entrypoint shell script in there that does
nothing. I pre-loaded the binaries for TOTP creation and the openconnect
client in the image.

Then I bind-mount a shell script from a /mnt/data dir.
Then I bind-mount a shell script from a `/mnt/data` sub-directory (so it persists
across upgrades).

And finally I overload the command at runtime to execute that script instead
of the built-in info-message/generic entrypoint script.


## Usage:

Edit `connect-example.sh` to match your needs (or create a different
Expand Down

0 comments on commit 08bb9cd

Please sign in to comment.