From 367c391a61091817cf34475f91a23ca286eec334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 18 Aug 2018 13:09:29 +0200 Subject: Add hetzner server scripts --- bin/install_script.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bin') 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] One of the following options is necessary: --instance-id id Id of the cloud instance --vps-id id Id of the vps + --hetzner-id id Id of the Hetzner server Optional arguments: --password password Password of the host (only useful in case of no reboot and vps) @@ -53,6 +54,15 @@ while [ -n "$1" ]; do T="ovh_vps_ssd" shift ;; + --hetzner-id) + host_id="$2" + if [ -z "$host_user" ]; then + host_user="root" + fi + [ -n "$T" ] && usage && exit 1 + T="hetzner_server" + shift + ;; --password) password="$2" shift -- cgit v1.2.3