Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Commit 86c91f3

Browse files
committed
adding new deb package needed for 2.7.5 and up
1 parent cf5c1f8 commit 86c91f3

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ RUN \
2929
curl -o \
3030
/openvpn/openvpn.deb -L \
3131
"https://swupdate.openvpn.org/as/openvpn-as-${OPENVPNAS_VERSION}-Ubuntu18.amd_64.deb" && \
32+
curl -o \
33+
/openvpn/openvpn-clients.deb -L \
34+
"https://openvpn.net/downloads/openvpn-as-bundled-clients-latest.deb" && \
3235
echo "**** ensure home folder for abc user set to /config ****" && \
3336
usermod -d /config abc && \
3437
echo "**** create admin user and set default password for it ****" && \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
205205

206206
## Versions
207207

208+
* **27.08.19:** - Add new clients package to install and upgrade process.
208209
* **22.08.19:** - Prevent auto-start of openvpn after first time install, before configuration is completed.
209210
* **25.07.19:** - Create a xenial branch/tag and rebase master/latest to bionic.
210211
* **07.04.19:** - Fix first time config.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ app_setup_block: |
6363
6464
# changelog
6565
changelogs:
66+
- { date: "27.08.19:", desc: "Add new clients package to install and upgrade process." }
6667
- { date: "22.08.19:", desc: "Prevent auto-start of openvpn after first time install, before configuration is completed." }
6768
- { date: "25.07.19:", desc: "Create a xenial branch/tag and rebase master/latest to bionic." }
6869
- { date: "07.04.19:", desc: "Fix first time config." }

root/etc/cont-init.d/30-config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if [ -f /openvpn/openvpn.deb ]; then
1515
ln -s /config /usr/local/openvpn_as
1616
if [ ! -f /config/etc/as.conf ]; then
1717
echo "installing openvpn-as for the first time"
18+
dpkg -i /openvpn/openvpn-clients.deb
1819
dpkg -i /openvpn/openvpn.deb
1920
echo "Stopping openvpn-as now; will start again later after configuring"
2021
kill `cat /var/run/openvpnas.pid`
@@ -38,6 +39,7 @@ if [ -f /openvpn/openvpn.deb ]; then
3839
cp /config/etc/as.conf /config/backup/as.conf
3940
cd /config || exit
4041
rm -rf !("backup"|"log")
42+
dpkg -i /openvpn/openvpn-clients.deb
4143
dpkg -i /openvpn/openvpn.deb
4244
echo "Stopping openvpn-as now; will start again later after configuring"
4345
kill `cat /var/run/openvpnas.pid`

0 commit comments

Comments
 (0)