indent
This commit is contained in:
parent
bf1e7539fa
commit
5776a03fe4
1 changed files with 27 additions and 27 deletions
|
@ -101,9 +101,9 @@ rescue_hetzner_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
rescue_hetzner_upload() {
|
rescue_hetzner_upload() {
|
||||||
local host="${1}"
|
local host="${1}"
|
||||||
local hostname="${2}"
|
local hostname="${2}"
|
||||||
if [ "${hostname}" ] ; then
|
if [ "${hostname}" ] ; then
|
||||||
local user='root'
|
local user='root'
|
||||||
#
|
#
|
||||||
local user_host="${user}@${host}"
|
local user_host="${user}@${host}"
|
||||||
|
@ -124,10 +124,10 @@ if [ "${hostname}" ] ; then
|
||||||
ssh "${user_host}" -- byobu send-keys 'rescue_hetzner_install' 'C-m'
|
ssh "${user_host}" -- byobu send-keys 'rescue_hetzner_install' 'C-m'
|
||||||
# attach session
|
# attach session
|
||||||
mosh "${user_host}" -- byobu attach-session
|
mosh "${user_host}" -- byobu attach-session
|
||||||
else
|
else
|
||||||
echo 'Host?'
|
echo 'Host?'
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
rescue_hetzner_wipe_8_8_0_init() {
|
rescue_hetzner_wipe_8_8_0_init() {
|
||||||
|
|
Loading…
Reference in a new issue