This commit is contained in:
Marc Beninca 2023-05-14 11:55:08 +02:00
parent b9949d107c
commit 07961df4c9

View file

@ -93,6 +93,7 @@ if [ "${host}" ] ; then
# upload root # upload root
rsync --delete --recursive "${MAIN_ROOT}/" "${user_host}:/etc/bash/" rsync --delete --recursive "${MAIN_ROOT}/" "${user_host}:/etc/bash/"
# call setup # call setup
# TODO variable
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