ovh-rescue-configure
This commit is contained in:
parent
3fc442bf70
commit
b170098755
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
function ovh-rescue-setup {
|
function ovh-rescue-configure {
|
||||||
local packages=(
|
local packages=(
|
||||||
'byobu' 'mosh'
|
'byobu' 'mosh'
|
||||||
)
|
)
|
||||||
|
@ -94,7 +94,7 @@ if [ "${host}" ] ; then
|
||||||
rsync --delete --recursive "${MAIN_BASH_ROOT}/" "${user_host}:/etc/bash/"
|
rsync --delete --recursive "${MAIN_BASH_ROOT}/" "${user_host}:/etc/bash/"
|
||||||
# call setup
|
# call setup
|
||||||
# TODO variable
|
# TODO variable
|
||||||
ssh "${user_host}" -- "source '/etc/bash/main.sh' ; ovh-rescue-setup"
|
ssh "${user_host}" -- "source '/etc/bash/main.sh' ; ovh-rescue-configure"
|
||||||
# create session
|
# create session
|
||||||
ssh "${user_host}" -- byobu new-session -d
|
ssh "${user_host}" -- byobu new-session -d
|
||||||
# send keys
|
# send keys
|
||||||
|
|
Loading…
Reference in a new issue