diff --git a/bash/ovh-rescue.sh b/bash/ovh-rescue.sh index d99e2e4..9b2efd5 100644 --- a/bash/ovh-rescue.sh +++ b/bash/ovh-rescue.sh @@ -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