|
|
|
@ -33,11 +33,11 @@ echo -e "Acquire::ForceIPv4 \"true\";\\n" > /etc/apt/apt.conf.d/99force-ipv4
|
|
|
|
|
|
|
|
|
|
## disable enterprise proxmox repo
|
|
|
|
|
if [ -f /etc/apt/sources.list.d/pve-enterprise.list ]; then
|
|
|
|
|
echo -e "#deb https://enterprise.proxmox.com/debian buster pve-enterprise\\n" > /etc/apt/sources.list.d/pve-enterprise.list
|
|
|
|
|
echo -e "#deb https://enterprise.proxmox.com/debian bullseye pve-enterprise\\n" > /etc/apt/sources.list.d/pve-enterprise.list
|
|
|
|
|
fi
|
|
|
|
|
## enable public proxmox repo
|
|
|
|
|
if [ ! -f /etc/apt/sources.list.d/proxmox.list ] && [ ! -f /etc/apt/sources.list.d/pve-public-repo.list ] && [ ! -f /etc/apt/sources.list.d/pve-install-repo.list ] ; then
|
|
|
|
|
echo -e "deb http://download.proxmox.com/debian buster pve-no-subscription\\n" > /etc/apt/sources.list.d/pve-public-repo.list
|
|
|
|
|
echo -e "deb http://download.proxmox.com/debian bullseye pve-no-subscription\\n" > /etc/apt/sources.list.d/pve-public-repo.list
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
## Add non-free to sources
|
|
|
|
@ -57,11 +57,12 @@ apt-get update
|
|
|
|
|
/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y install gnupg1 apt-transport-https dirmngr
|
|
|
|
|
export INSTALL_KEY=379CE192D401AB61
|
|
|
|
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY
|
|
|
|
|
echo "deb https://ookla.bintray.com/debian generic main" | tee /etc/apt/sources.list.d/speedtest.list
|
|
|
|
|
#echo "deb https://ookla.bintray.com/debian generic main" | tee /etc/apt/sources.list.d/speedtest.list
|
|
|
|
|
curl -s https://install.speedtest.net/app/cli/install.deb.sh | bash
|
|
|
|
|
apt-get update
|
|
|
|
|
/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y install speedtest
|
|
|
|
|
|
|
|
|
|
systemctl enable glusterd
|
|
|
|
|
#systemctl enable glusterd
|
|
|
|
|
|
|
|
|
|
#snmpd snmp-mibs-downloader
|
|
|
|
|
chsh -s /usr/bin/fish
|
|
|
|
|