From 573e9e1c743df40dfe738c5c3b2a961d1d2714a8 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 4 Nov 2018 22:45:35 -0500 Subject: stop using a floating ip for algo --- bin/algo-config | 2 +- bin/helpers/algo-config.diff | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'bin') 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 diff --git a/bin/helpers/algo-config.diff b/bin/helpers/algo-config.diff index 662b165..46cd2ee 100644 --- a/bin/helpers/algo-config.diff +++ b/bin/helpers/algo-config.diff @@ -1,5 +1,5 @@ diff --git i/config.cfg w/config.cfg -index d61e404..003308a 100644 +index 03f439e..ff29497 100644 --- i/config.cfg +++ w/config.cfg @@ -3,8 +3,11 @@ @@ -9,7 +9,7 @@ index d61e404..003308a 100644 - - dan - - jack + - hush -+ - bishamon ++ - partofme + - phone + - tozt + - mail @@ -34,12 +34,3 @@ index d61e404..003308a 100644 congrats: common: | -@@ -113,7 +116,7 @@ cloud_providers: - digitalocean: - size: s-1vcpu-1gb - image: "ubuntu-18-04-x64" -- floating_ip: false -+ floating_ip: "165.227.249.213" - # Change the encrypted flag to "true" to enable AWS volume encryption, for encryption of data at rest. - # Warning: the Algo script will take approximately 6 minutes longer to complete. - # Also note that the documented AWS minimum permissions aren't sufficient. -- cgit v1.2.3-54-g00ecf