From 56985c803237f3565933e670e50b42387db7ca5f Mon Sep 17 00:00:00 2001 From: patriciocl Date: Sun, 12 Sep 2021 17:46:09 -0300 Subject: [PATCH] add unzip --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 01073c5..3e82468 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash + + # Setup script environment set -o errexit #Exit immediately if a pipeline returns a non-zero status set -o errtrace #Trap ERR from shell functions, command substitutions, and commands from subshell @@ -10,6 +12,15 @@ alias die='EXIT=$? LINE=$LINENO error_exit' trap die ERR trap cleanup EXIT +#remove susbcription +rm -rf /etc/apt/sources.list.d/pve-enterprise.list +#add pve-no +echo "deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list +apt-get update +apt-get install -y zip unzip parted util-linux + + + function error_exit() { trap - ERR local DEFAULT='Unknown failure occured.'