Explorar o código

Update 'new-node.sh'

Changed teleport install to request ID first
Marcel Stangenberger hai 7 meses
pai
achega
8fd30b0335
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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