From 610daffb7ff316b580f624d8b254084e83466054 Mon Sep 17 00:00:00 2001 From: admin666 Date: Tue, 20 Aug 2024 10:12:00 +0000 Subject: [PATCH] Add create and setup vm scripts (2) --- setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 8123d38..2ddcc5d 100755 --- a/setup.sh +++ b/setup.sh @@ -49,12 +49,12 @@ echo "Waiting for ${vm} to boot..." sleep 20 echo "Updating packages..." -sudo -u admin666 ssh -4 ${vm} "sudo apt update" -sudo -u admin666 ssh -4 ${vm} 'sudo apt full-upgrade -y -o Dpkg::Options::="--force-confold"' -sudo -u admin666 ssh -4 ${vm} "sudo apt autoremove -y" +sudo -u admin666 ssh -4 ${vm} "sudo apt-get update" +sudo -u admin666 ssh -4 ${vm} 'sudo apt-get full-upgrade -y -o Dpkg::Options::="--force-confold"' +sudo -u admin666 ssh -4 ${vm} "sudo apt-get autoremove -y" echo "Installing base packages..." -sudo -u admin666 ssh -4 ${vm} "sudo apt install -y etckeeper molly-guard tig lm-sensors fancontrol screen emacs-nox vrms needrestart iotop htop curl ncdu iptraf tig unzip" +sudo -u admin666 ssh -4 ${vm} "sudo apt-get install -y etckeeper molly-guard tig lm-sensors fancontrol screen emacs-nox vrms needrestart iotop htop curl ncdu iptraf tig unzip" echo -e "\e[36m${vm} successfully set up\e[0m" exit 0