21 lines
567 B
Bash
21 lines
567 B
Bash
#!/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
|