Add 'proxmox_repositories.sh'

This commit is contained in:
sthope 2022-01-29 15:03:14 +00:00
parent e829907a69
commit 61421055a4

20
proxmox_repositories.sh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
# ___ _ _ _ __
# / __|| |_ | |_ ___ | '_ \ ___
# \__ \| _|| \ / _ \| .__// -_)
# |___/ \__||_||_|\___/|_| \___|
rm /etc/apt/sources.list.d/pve-enterprise.list
rm /etc/apt/sources.list
touch /etc/apt/sources.list
cat << EOF > /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
# security updates
deb http://security.debian.org bullseye-security main contrib
EOF