This commit is contained in:
Marc Beninca 2023-05-13 02:54:16 +02:00
parent e017d1a5b7
commit 76f16debb1

View file

@ -1,21 +1,4 @@
function ovh-rescue-setup { function ovh-rescue-setup {
local release='buster'
local packages=(
'byobu' 'mosh'
'parted' 'mdadm' 'lvm2'
'lshw'
'file'
'grub-efi-amd64-bin' 'grub-pc-bin'
'htop' 'iotop' 'lsof'
'exa' 'ncdu' 'nnn' 'ranger' 'tree'
'squashfs-tools'
'uuid-runtime'
)
local backports=(
'cryptsetup-bin'
'git'
'rsync'
)
# #
echo -n "\ echo -n "\
en_US.UTF-8 UTF-8 en_US.UTF-8 UTF-8
@ -42,9 +25,28 @@ deb https://deb.debian.org/debian buster-backports main contrib non-free
deb https://deb.debian.org/debian buster-updates main contrib non-free deb https://deb.debian.org/debian buster-updates main contrib non-free
deb https://deb.debian.org/debian-security buster/updates main contrib non-free deb https://deb.debian.org/debian-security buster/updates main contrib non-free
" > '/etc/apt/sources.list' " > '/etc/apt/sources.list'
}
function ovh-rescue-install {
local release='buster'
local packages=(
'byobu' 'mosh'
'parted' 'mdadm' 'lvm2'
'lshw'
'file'
'grub-efi-amd64-bin' 'grub-pc-bin'
'htop' 'iotop' 'lsof'
'exa' 'ncdu' 'nnn' 'ranger' 'tree'
'squashfs-tools'
'uuid-runtime'
)
local backports=(
'cryptsetup-bin'
'git'
'rsync'
)
# #
apt-get update apt-get update
apt-get update
# #
export DEBIAN_FRONTEND='noninteractive' export DEBIAN_FRONTEND='noninteractive'
# #