diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-27 11:14:51 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-27 11:14:51 -0400 |
commit | 6c9b7a5196c5aafa6bb270265688f04554bdc5af (patch) | |
tree | ddb092dd431141b5765ceca2ab0a97c0070b356d /bin | |
parent | 8f609299227487fd1b681a333662c82853f4d8c4 (diff) | |
download | puppet-tozt-6c9b7a5196c5aafa6bb270265688f04554bdc5af.tar.gz puppet-tozt-6c9b7a5196c5aafa6bb270265688f04554bdc5af.zip |
also update the wireguard puppet secret when distributing algo configs
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/algo-config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/algo-config b/bin/algo-config index f7c96d2..9d98043 100755 --- a/bin/algo-config +++ b/bin/algo-config @@ -23,6 +23,7 @@ sudo cp "$config_path/hush-not-captive.conf" /etc/wireguard/algo.conf # tozt sed 's|^AllowedIPs.*|AllowedIPs = 10.19.49.0/24, fd9d:bc11:4021::/48, 172.16.0.1/32|' "$config_path/tozt.conf" > "$config_path/tozt-not-captive.conf" scp "$config_path/tozt-not-captive.conf" root@tozt.net:/etc/wireguard/algo.conf +cp "$config_path/tozt-not-captive.conf" /mnt/puppet/tozt/wireguard # phone echo "algo-captive" |