From 76f16debb159a13e757f3082461ca7397a335f51 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 13 May 2023 02:54:16 +0200 Subject: [PATCH] install --- bash/ovh-rescue.sh | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) 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' #