bookworm
This commit is contained in:
parent
9b830a7d36
commit
dce03fc9b9
1 changed files with 9 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
ovh_rescue_configure() {
|
||||
local host="${1}"
|
||||
local release="bookworm"
|
||||
# apt / conf
|
||||
printf "\
|
||||
Acquire::AllowInsecureRepositories False;
|
||||
|
@ -41,16 +42,20 @@ fr_FR.UTF-8 UTF-8
|
|||
debian_disable_frontend
|
||||
# install packages
|
||||
apt-get install --assume-yes \
|
||||
"tmux" \
|
||||
\
|
||||
"byobu" \
|
||||
"mosh"
|
||||
# clean cache
|
||||
apt_clean_cache
|
||||
# install backports
|
||||
apt-get install --assume-yes \
|
||||
--target-release "${release}-backports" \
|
||||
"tmux"
|
||||
# clean cache
|
||||
apt_clean_cache
|
||||
}
|
||||
|
||||
ovh_rescue_install() {
|
||||
local release="buster"
|
||||
local release="bookworm"
|
||||
# update catalog
|
||||
apt-get update
|
||||
#
|
||||
|
@ -100,7 +105,7 @@ ovh_rescue_upload() {
|
|||
# call setup
|
||||
# TODO variable
|
||||
ssh "${user_host}" -- \
|
||||
"source \"/etc/bash/main.sh\" ; ovh-rescue-configure \"${host}\""
|
||||
"source \"/etc/bash/main.sh\" ; ovh_rescue_configure \"${host}\""
|
||||
# create session
|
||||
ssh "${user_host}" -- byobu new-session -d
|
||||
# send keys
|
||||
|
|
Loading…
Reference in a new issue