diff --git a/bash/ovh-rescue.sh b/bash/ovh-rescue.sh index 62cb0fc..15142b7 100644 --- a/bash/ovh-rescue.sh +++ b/bash/ovh-rescue.sh @@ -1,21 +1,4 @@ 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 "\ 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-security buster/updates main contrib non-free " > '/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 # export DEBIAN_FRONTEND='noninteractive' #