summaryrefslogtreecommitdiffstats
path: root/bin/algo-config
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-04 22:45:35 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-04 22:47:45 -0500
commit573e9e1c743df40dfe738c5c3b2a961d1d2714a8 (patch)
treef9a630e85e9b8c5d7c01e5eb0b15302a6c9e2d06 /bin/algo-config
parent74942407726a8daee04399f8cc1972e2819a2e7d (diff)
downloadpuppet-tozt-573e9e1c743df40dfe738c5c3b2a961d1d2714a8.tar.gz
puppet-tozt-573e9e1c743df40dfe738c5c3b2a961d1d2714a8.zip
stop using a floating ip for algo
Diffstat (limited to 'bin/algo-config')
-rwxr-xr-xbin/algo-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/algo-config b/bin/algo-config
index 9d98043..9f02a8c 100755
--- a/bin/algo-config
+++ b/bin/algo-config
@@ -4,7 +4,7 @@ set -o pipefail
script_path="$(realpath "$(dirname "$0")")"
secrets_bin="${script_path}/secrets"
-config_path=/mnt/algo/algo/configs/165.227.249.213/wireguard
+config_path="$(echo /mnt/algo/algo/configs/*/wireguard)"
"$secrets_bin" open
trap '"$secrets_bin" close' EXIT