send keys to install
This commit is contained in:
parent
76d233d4f7
commit
f4f5eb31c9
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ if [ "${host}" ] ; then
|
||||||
ssh "${user_host}" -- "source '/etc/bash/main.sh' ; ovh-rescue-setup"
|
ssh "${user_host}" -- "source '/etc/bash/main.sh' ; ovh-rescue-setup"
|
||||||
# create session
|
# create session
|
||||||
ssh "${user_host}" -- byobu new-session -d
|
ssh "${user_host}" -- byobu new-session -d
|
||||||
|
# send keys
|
||||||
|
ssh "${user_host}" -- byobu send-keys 'ovh-rescue-install' 'C-m'
|
||||||
# attach session
|
# attach session
|
||||||
mosh "${user_host}" -- byobu attach-session
|
mosh "${user_host}" -- byobu attach-session
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue