added restic to essentials scripts

This commit is contained in:
2024-03-13 18:02:00 -05:00
parent 164d93f337
commit 78298f6926
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/
# apk update and install essentials
apk update && apk upgrade
apk add nano sudo pwgen curl wget qemu-guest-agent git bash-doc bash-completion openssh iputils --no-cache
apk add nano sudo pwgen curl wget qemu-guest-agent git bash-doc bash-completion openssh iputils restic --no-cache
# change default shell to bash
isInFile=$(cat /etc/passwd | grep -c "/bin/bash")

View File

@@ -65,7 +65,7 @@ if [[ ! -d /dev/disk/by-id ]]
fi
# download and install packages
apt-get install -y hstr htop ncdu pwgen lsb-release cron qemu-guest-agent sudo nano curl wget zip unzip git rsync man-db cifs-utils nfs-common parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
apt-get install -y restic hstr htop ncdu pwgen lsb-release cron qemu-guest-agent sudo nano curl wget zip unzip git rsync man-db cifs-utils nfs-common parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
# add akanealw user if not existing
isInFile=$(cat /etc/passwd | grep -c "akanealw")