From a00e32a189f8014983c5e0b6bbe92c6b05ccc709 Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Wed, 15 Dec 2021 16:46:10 +0000 Subject: [PATCH] Update --- Helpers/zerotier-update.sh | 5 ++++- zerotier.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Helpers/zerotier-update.sh b/Helpers/zerotier-update.sh index b2b66bf..571f672 100644 --- a/Helpers/zerotier-update.sh +++ b/Helpers/zerotier-update.sh @@ -38,7 +38,10 @@ echo "Status: Installing ${appName} using script version ${scriptver}" >> ${logf echo "Status: Updating ZeroTier" >> ${logfile} echo "Status: Updating ZeroTier" >> ${deplog} -curl -o /Library/Caches/com.purplecomputing.mdm/Apps/ZT.pkg https://download.zerotier.com/dist/ZeroTier%20One.pkg >> ${logfile} + +# Using 1.8.1 version to stop the continual prompts for credentials +curl -o /Library/Caches/com.purplecomputing.mdm/Apps/ZT.pkg https://download.zerotier.com/RELEASES/1.8.1/dist/ZeroTierOne.pkg +#curl -o /Library/Caches/com.purplecomputing.mdm/Apps/ZT.pkg https://download.zerotier.com/dist/ZeroTier%20One.pkg echo "Status: Running the installer" >> ${logfile} echo "Status: Executing Scripts..." >> ${deplog} diff --git a/zerotier.sh b/zerotier.sh index f3b5c92..13c4185 100755 --- a/zerotier.sh +++ b/zerotier.sh @@ -38,7 +38,10 @@ echo "Status: Installing ${appName} using script version ${scriptver}" >> ${logf echo "Status: Downloading ZeroTier" >> ${logfile} echo "Status: Downloading ZeroTier" >> ${deplog} -curl -o /Library/Caches/com.purplecomputing.mdm/Apps/ZT.pkg https://download.zerotier.com/dist/ZeroTier%20One.pkg + +# Using 1.8.1 version to stop the continual prompts for credentials +curl -o /Library/Caches/com.purplecomputing.mdm/Apps/ZT.pkg https://download.zerotier.com/RELEASES/1.8.1/dist/ZeroTierOne.pkg +#curl -o /Library/Caches/com.purplecomputing.mdm/Apps/ZT.pkg https://download.zerotier.com/dist/ZeroTier%20One.pkg echo "Status: Running the installer" >> ${logfile} echo "Status: Running the installer" >> ${deplog}