Last active
July 23, 2019 04:21
-
-
Save z3nth10n/1a74779c87e8f5511fff7f9e21d6812f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url="https://proxmox-resolv.herokuapp.com/?action=" | |
name=$(date +%S%N) | |
echo "Choose:" | |
echo "1) Download Gitlab" | |
echo "2) Download Debian VM" | |
echo "3) Salir" | |
read -p "==> " a | |
case $a in | |
1) part="download-gitlab" | |
wget "$url$part" -O "$name.sh" | |
bash "$name.sh $1" | |
;; | |
2) part="download-vm" | |
wget "$url$part" -O "$name.sh" | |
bash "$name.sh" | |
;; | |
3) echo "Exiting..." | |
exit | |
;; | |
*) | |
echo "No has seleccionado una opción válida." | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment