aboutsummaryrefslogtreecommitdiff
path: root/bin/install_script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install_script.sh')
-rwxr-xr-xbin/install_script.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/install_script.sh b/bin/install_script.sh
index 36cc594..322a1ed 100755
--- a/bin/install_script.sh
+++ b/bin/install_script.sh
@@ -11,6 +11,7 @@ $(basename $0) [options]
11 One of the following options is necessary: 11 One of the following options is necessary:
12 --instance-id id Id of the cloud instance 12 --instance-id id Id of the cloud instance
13 --vps-id id Id of the vps 13 --vps-id id Id of the vps
14 --hetzner-id id Id of the Hetzner server
14 15
15 Optional arguments: 16 Optional arguments:
16 --password password Password of the host (only useful in case of no reboot and vps) 17 --password password Password of the host (only useful in case of no reboot and vps)
@@ -53,6 +54,15 @@ while [ -n "$1" ]; do
53 T="ovh_vps_ssd" 54 T="ovh_vps_ssd"
54 shift 55 shift
55 ;; 56 ;;
57 --hetzner-id)
58 host_id="$2"
59 if [ -z "$host_user" ]; then
60 host_user="root"
61 fi
62 [ -n "$T" ] && usage && exit 1
63 T="hetzner_server"
64 shift
65 ;;
56 --password) 66 --password)
57 password="$2" 67 password="$2"
58 shift 68 shift