try to fix gpg error while provision

This commit is contained in:
rootzoll 2018-12-12 23:37:15 +01:00
parent c44457a4bf
commit 3288a5d485

View File

@ -67,8 +67,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
## lopp: gpg --keyserver keys.gnupg.net --recv 886DDD89
echo "*** Fetching GPG key ***"
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
gpg --no-tty --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --no-tty --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
echo ""
echo "*** Updating System ***"
@ -225,7 +225,7 @@ EOF
echo "Enable LND again"
sudo systemctl enable lnd
echo "OK"
echo ""
echo ""
echo "OK - TOR is now ON"
echo "needs reboot to activate new setting"