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

Commit a2bd5b9

Browse files
committed
Xenial adding new deb package needed for 2.7.5 and up
1 parent cdefde9 commit a2bd5b9

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}-Ubuntu16.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
* **25.07.19:** - Create a xenial branch and rebase master to bionic.
209210
* **07.04.19:** - Fix first time config.
210211
* **03.04.19:** - Big rewrite of the install and update logic of openvpn-as to fix breaking changes (should fix updating from 2.6.1 to 2.7.3), added mysql-client for cluster support.

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: "25.07.19:", desc: "Create a xenial branch and rebase master to bionic." }
6768
- { date: "07.04.19:", desc: "Fix first time config." }
6869
- { date: "03.04.19:", desc: "Big rewrite of the install and update logic of openvpn-as to fix breaking changes (should fix updating from 2.6.1 to 2.7.3), added mysql-client for cluster support." }

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
rm /openvpn/openvpn.deb
2021
sed -i \
@@ -36,6 +37,7 @@ if [ -f /openvpn/openvpn.deb ]; then
3637
cp /config/etc/as.conf /config/backup/as.conf
3738
cd /config || exit
3839
rm -rf !("backup"|"log")
40+
dpkg -i /openvpn/openvpn-clients.deb
3941
dpkg -i /openvpn/openvpn.deb
4042
rm /openvpn/openvpn.deb
4143
sed -i \

0 commit comments

Comments
 (0)