byobu,mosh
This commit is contained in:
parent
9cfd4aa889
commit
76d233d4f7
1 changed files with 12 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
function ovh-rescue-setup {
|
||||
local packages=(
|
||||
'byobu' 'mosh'
|
||||
)
|
||||
# apt / conf
|
||||
echo -n "\
|
||||
Acquire::AllowInsecureRepositories False;
|
||||
|
@ -32,13 +35,18 @@ fr_FR.UTF-8 UTF-8
|
|||
ln --symbolic '/etc/locale.alias' '/usr/share/locale/locale.alias'
|
||||
# generate locales
|
||||
locale-gen
|
||||
# update catalog
|
||||
apt-get update
|
||||
# install packages
|
||||
apt-get install --assume-yes "${packages[@]}"
|
||||
}
|
||||
|
||||
function ovh-rescue-install {
|
||||
local release='buster'
|
||||
local packages=(
|
||||
'byobu' 'mosh'
|
||||
# installed
|
||||
'parted' 'mdadm' 'lvm2'
|
||||
# install
|
||||
'lshw'
|
||||
'file'
|
||||
'grub-efi-amd64-bin' 'grub-pc-bin'
|
||||
|
@ -48,9 +56,10 @@ function ovh-rescue-install {
|
|||
'uuid-runtime'
|
||||
)
|
||||
local backports=(
|
||||
'cryptsetup-bin'
|
||||
# installed
|
||||
'cryptsetup-bin' 'rsync'
|
||||
# install
|
||||
'git'
|
||||
'rsync'
|
||||
)
|
||||
# update catalog
|
||||
apt-get update
|
||||
|
|
Loading…
Reference in a new issue