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
rsync --delete --recursive "${MAIN_ROOT}/" "${user_host}:/etc/bash/"
# call setup
# TODO variable
ssh "${user_host}" -- "source '/etc/bash/main.sh' ; ovh-rescue-setup"
# create session
ssh "${user_host}" -- byobu new-session -d