mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-17 12:43:27 +01:00
ZeroTier One: Fix install output (#8179)
This commit is contained in:
@ -14,9 +14,13 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Setting up Zerotier-One"
|
msg_info "Setting up Zerotier-One"
|
||||||
curl -fsSL 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import &&
|
curl -fsSL https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg | gpg --import >/dev/null 2>&1
|
||||||
if z="$(curl -fsSL 'https://install.zerotier.com/' | gpg)"; then
|
curl -fsSL https://install.zerotier.com -o /tmp/zerotier-install.sh
|
||||||
echo "$z" | sudo bash
|
if gpg --verify /tmp/zerotier-install.sh >/dev/null 2>&1; then
|
||||||
|
$STD bash /tmp/zerotier-install.sh
|
||||||
|
else
|
||||||
|
msg_warn "Could not verify signature of Zerotier-One install script. Exiting..."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
msg_ok "Setup Zerotier-One"
|
msg_ok "Setup Zerotier-One"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user