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