From 96845e68db27879e2b132c39a6de41ffce67b0f5 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 20 Nov 2022 17:05:22 -0500 Subject: [PATCH] https Debian repositories Signed-off-by: Tommy --- GCP-Debian-11.sh | 2 ++ Proxmox-7.sh | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/GCP-Debian-11.sh b/GCP-Debian-11.sh index 0db7175..d55b22b 100644 --- a/GCP-Debian-11.sh +++ b/GCP-Debian-11.sh @@ -1,5 +1,7 @@ #!/bin/bash +find /etc/apt/sources.list.d -type f -exec sed -i 's/http:/https:/g' {} \; + apt update apt upgrade -y apt install -y tuned apparmor-profiles ufw diff --git a/Proxmox-7.sh b/Proxmox-7.sh index 928a529..c04eab9 100644 --- a/Proxmox-7.sh +++ b/Proxmox-7.sh @@ -1,7 +1,16 @@ #!/bin/bash sed -i '1 {s/^/#/}' /etc/apt/sources.list.d/pve-enterprise.list -sed -i 's/main contrib/main contrib non-free/' /etc/apt/sources.list + +echo 'deb https://deb.debian.org/debian/ bullseye main contrib non-free + +deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free + +# security updates +deb https://security.debian.org bullseye-security main contrib non-free + +deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription' | tee /etc/apt/sources.list + apt update apt upgrade -y apt install -y intel-microcode tuned apparmor-profiles fwupd