This repository was archived by the owner on Jun 15, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 29
29
curl -o \
30
30
/openvpn/openvpn.deb -L \
31
31
"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" && \
32
35
echo "**** ensure home folder for abc user set to /config ****" && \
33
36
usermod -d /config abc && \
34
37
echo "**** create admin user and set default password for it ****" && \
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
205
205
206
206
## Versions
207
207
208
+ * ** 27.08.19:** - Add new clients package to install and upgrade process.
208
209
* ** 22.08.19:** - Prevent auto-start of openvpn after first time install, before configuration is completed.
209
210
* ** 25.07.19:** - Create a xenial branch/tag and rebase master/latest to bionic.
210
211
* ** 07.04.19:** - Fix first time config.
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ app_setup_block: |
63
63
64
64
# changelog
65
65
changelogs :
66
+ - { date: "27.08.19:", desc: "Add new clients package to install and upgrade process." }
66
67
- { date: "22.08.19:", desc: "Prevent auto-start of openvpn after first time install, before configuration is completed." }
67
68
- { date: "25.07.19:", desc: "Create a xenial branch/tag and rebase master/latest to bionic." }
68
69
- { date: "07.04.19:", desc: "Fix first time config." }
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ if [ -f /openvpn/openvpn.deb ]; then
15
15
ln -s /config /usr/local/openvpn_as
16
16
if [ ! -f /config/etc/as.conf ]; then
17
17
echo "installing openvpn-as for the first time"
18
+ dpkg -i /openvpn/openvpn-clients.deb
18
19
dpkg -i /openvpn/openvpn.deb
19
20
echo "Stopping openvpn-as now; will start again later after configuring"
20
21
kill `cat /var/run/openvpnas.pid`
@@ -38,6 +39,7 @@ if [ -f /openvpn/openvpn.deb ]; then
38
39
cp /config/etc/as.conf /config/backup/as.conf
39
40
cd /config || exit
40
41
rm -rf !("backup"|"log")
42
+ dpkg -i /openvpn/openvpn-clients.deb
41
43
dpkg -i /openvpn/openvpn.deb
42
44
echo "Stopping openvpn-as now; will start again later after configuring"
43
45
kill `cat /var/run/openvpnas.pid`
You can’t perform that action at this time.
0 commit comments