From 8faef151e5b3255a90ae47e82feead6d2be8699b Mon Sep 17 00:00:00 2001 From: datazon <46651046+datazon@users.noreply.github.com> Date: Thu, 22 Apr 2021 15:19:46 +0200 Subject: [PATCH] Update install.sh - Added htop mc vim packages - disabling enterprise repository is better than removing, if later subscription ist purchased --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 1e5d949..467340a 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/bash # Define basic tools to install -TOOLS="vim ifupdown2 net-tools dnsutils ethtool git curl unzip screen iftop lshw smartmontools nvme-cli lsscsi sysstat zfs-auto-snapshot" +TOOLS="vim ifupdown2 net-tools dnsutils ethtool git curl unzip screen iftop lshw smartmontools nvme-cli lsscsi sysstat zfs-auto-snapshot htop mc vim" # Define zfs-auto-snapshot retention policy SNAP_FREQUENT=8 @@ -14,8 +14,8 @@ SNAP_MONTHLY=3 ZFS_ARC_MIN=128 ZFS_ARC_MAX=256 -# remove pve-enterprise repo and add pve-no-subscription repo -rm -f /etc/apt/sources.list.d/pve-enterprise.list +# disable pve-enterprise repo and add pve-no-subscription repo +mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list apt update @@ -42,4 +42,3 @@ options zfs zfs_arc_min=$ZFS_ARC_MIN_BYTES options zfs zfs_arc_min=$ZFS_ARC_MAX_BYTES EOF update-initramfs -u -k all -