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

Commit b22bd10

Browse files
aptalcathelamer
authored andcommitted
missed sed after first time install
1 parent 7116d67 commit b22bd10

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Below are the instructions for updating containers:
174174

175175
## Versions
176176

177+
* **07.04.19:** - Fix first time config.
177178
* **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.
178179
* **14.03.19:** - Update deb package URL.
179180
* **21.02.19:** - Rebase to xenial due to incompatibility issues on some older host OSes.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ app_setup_block: |
6060
6161
# changelog
6262
changelogs:
63+
- { date: "07.04.19:", desc: "Fix first time config." }
6364
- { 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." }
6465
- { date: "14.03.19:", desc: "Update deb package URL." }
6566
- { date: "21.02.19:", desc: "Rebase to xenial due to incompatibility issues on some older host OSes." }

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ if [ -f /openvpn/openvpn.deb ]; then
1717
echo "installing openvpn-as for the first time"
1818
dpkg -i /openvpn/openvpn.deb
1919
rm /openvpn/openvpn.deb
20+
sed -i \
21+
-e 's#=openvpn_as#=abc#g' \
22+
-e 's#~/tmp#/openvpn/tmp#g' \
23+
-e 's#~/sock#/openvpn/sock#g' \
24+
/usr/local/openvpn_as/etc/as_templ.conf
2025
else
2126
echo "existing data found, reinstalling openvpn-as"
2227
mkdir -p /config/backup

0 commit comments

Comments
 (0)