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 {
|
function ovh-rescue-setup {
|
||||||
|
local packages=(
|
||||||
|
'byobu' 'mosh'
|
||||||
|
)
|
||||||
# apt / conf
|
# apt / conf
|
||||||
echo -n "\
|
echo -n "\
|
||||||
Acquire::AllowInsecureRepositories False;
|
Acquire::AllowInsecureRepositories False;
|
||||||
|
@ -32,13 +35,18 @@ fr_FR.UTF-8 UTF-8
|
||||||
ln --symbolic '/etc/locale.alias' '/usr/share/locale/locale.alias'
|
ln --symbolic '/etc/locale.alias' '/usr/share/locale/locale.alias'
|
||||||
# generate locales
|
# generate locales
|
||||||
locale-gen
|
locale-gen
|
||||||
|
# update catalog
|
||||||
|
apt-get update
|
||||||
|
# install packages
|
||||||
|
apt-get install --assume-yes "${packages[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function ovh-rescue-install {
|
function ovh-rescue-install {
|
||||||
local release='buster'
|
local release='buster'
|
||||||
local packages=(
|
local packages=(
|
||||||
'byobu' 'mosh'
|
# installed
|
||||||
'parted' 'mdadm' 'lvm2'
|
'parted' 'mdadm' 'lvm2'
|
||||||
|
# install
|
||||||
'lshw'
|
'lshw'
|
||||||
'file'
|
'file'
|
||||||
'grub-efi-amd64-bin' 'grub-pc-bin'
|
'grub-efi-amd64-bin' 'grub-pc-bin'
|
||||||
|
@ -48,9 +56,10 @@ function ovh-rescue-install {
|
||||||
'uuid-runtime'
|
'uuid-runtime'
|
||||||
)
|
)
|
||||||
local backports=(
|
local backports=(
|
||||||
'cryptsetup-bin'
|
# installed
|
||||||
|
'cryptsetup-bin' 'rsync'
|
||||||
|
# install
|
||||||
'git'
|
'git'
|
||||||
'rsync'
|
|
||||||
)
|
)
|
||||||
# update catalog
|
# update catalog
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
Loading…
Reference in a new issue