Parcourir la source

Update 'new-node.sh'

Changed teleport install to request ID first
Marcel Stangenberger il y a 1 an
Parent
commit
8fd30b0335
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      new-node.sh

+ 2 - 1
new-node.sh

@@ -27,7 +27,8 @@ fi
 echo "Disable SELinux"
 sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
 echo "install Teleport agent"
-sudo bash -c "$(curl -fsSL https://xs.xo.nl/scripts/c368df0b0c8b08d92e3cfa66616c333a/install-node.sh)"
+read -p "Enter installation ID : " TELEPORT
+sudo bash -c "$(curl -fsSL https://xs.xo.nl/scripts/$TELEPORT/install-node.sh)"
 echo "Deployment is completed"
 echo "Reboot host in 5 seconds"
 wait 5