Kaynağa Gözat

Merge pull request #2249 from Nezteb/master

script updates
Alex Feiszli 2 yıl önce
ebeveyn
işleme
edcfa3249f
2 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 3 1
      scripts/nm-quick.sh
  2. 2 2
      scripts/nm-upgrade.sh

+ 3 - 1
scripts/nm-quick.sh

@@ -210,7 +210,7 @@ configure_netclient() {
 # setup_nmctl - pulls nmctl and makes it executable
 setup_nmctl() {
 
-	wget -O /usr/bin/nmctl https://github.com/gravitl/netmaker/releases/download/$LATEST/nmctl_linux_amd64
+	wget -O /usr/bin/nmctl https://github.com/gravitl/netmaker/releases/download/$LATEST/nmctl-linux-amd64
 
     chmod +x /usr/bin/nmctl
     echo "using server api.$NETMAKER_BASE_DOMAIN"
@@ -398,6 +398,8 @@ set_install_vars() {
 	echo "-----------------------------------------------------"
 	echo "Would you like to use your own domain for netmaker, or an auto-generated domain?"
 	echo "To use your own domain, add a Wildcard DNS record (e.x: *.netmaker.example.com) pointing to $SERVER_PUBLIC_IP"
+	echo "IMPORTANT: Due to the high volume of requests, the auto-generated domain has been rate-limited by the certificate provider."
+	echo "For this reason, we STRONGLY RECOMMEND using your own domain. Using the auto-generated domain may lead to a failed installation due to rate limiting."
 	echo "-----------------------------------------------------"
 
 	if [ "$AUTO_BUILD" = "on" ]; then

+ 2 - 2
scripts/nm-upgrade.sh

@@ -510,7 +510,7 @@ setup_netclient() {
 # setup_nmctl - pulls nmctl and makes it executable
 setup_nmctl() {
 
-    wget -O nmctl https://github.com/gravitl/netmaker/releases/download/$LATEST/nmctl_linux_amd64
+    wget -O nmctl https://github.com/gravitl/netmaker/releases/download/$LATEST/nmctl-linux-amd64
   
     chmod +x nmctl
     echo "using server $SERVER_HTTP_HOST"
@@ -719,4 +719,4 @@ echo "-----------------------------------------------------------------"
 echo "Netmaker setup is now complete. You are ready to begin using Netmaker."
 echo "Visit dashboard.$SERVER_NAME to log in"
 echo "-----------------------------------------------------------------"
-echo "-----------------------------------------------------------------"
+echo "-----------------------------------------------------------------"