diff options
author | Anjan Nath <kaludios@gmail.com> | 2022-06-05 21:04:23 +0530 |
---|---|---|
committer | atanarjuat <atanarjuat@example.com> | 2022-07-28 02:03:12 -0400 |
commit | 32f4b22dd1dc01c9f7d3948c058955eadbd65e5c (patch) | |
tree | eeac1b170253a95be0ea46d6ee4b38ca1a6c3c2a /images/obfsvpn/scripts/functions.sh | |
parent | 96de18df48af86b301c1323f50312e46c6802505 (diff) |
add obfsvpn client dockerfile for use in integration test
Diffstat (limited to 'images/obfsvpn/scripts/functions.sh')
-rw-r--r-- | images/obfsvpn/scripts/functions.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/images/obfsvpn/scripts/functions.sh b/images/obfsvpn/scripts/functions.sh index f00ac38..585615b 100644 --- a/images/obfsvpn/scripts/functions.sh +++ b/images/obfsvpn/scripts/functions.sh @@ -29,6 +29,9 @@ function createConfig() { cd "$APP_INSTALL_PATH" cp config/client.ovpn $CLIENT_PATH + # dirty hack: copy client config to root of APP_PERSIST_DIR + # for reusing in the obfsvpn-client container + cp config/client.ovpn "$APP_PERSIST_DIR/" echo -e "\nremote $HOST_ADDR $PORT" >> "$CLIENT_PATH/client.ovpn" |