|
|
@ -33,11 +33,11 @@ echo -e "Acquire::ForceIPv4 \"true\";\\n" > /etc/apt/apt.conf.d/99force-ipv4
|
|
|
|
|
|
|
|
|
|
|
|
## disable enterprise proxmox repo
|
|
|
|
## disable enterprise proxmox repo
|
|
|
|
if [ -f /etc/apt/sources.list.d/pve-enterprise.list ]; then
|
|
|
|
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
|
|
|
|
fi
|
|
|
|
## enable public proxmox repo
|
|
|
|
## 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
|
|
|
|
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
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
## Add non-free to sources
|
|
|
|
## 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
|
|
|
|
/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y install gnupg1 apt-transport-https dirmngr
|
|
|
|
export INSTALL_KEY=379CE192D401AB61
|
|
|
|
export INSTALL_KEY=379CE192D401AB61
|
|
|
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY
|
|
|
|
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
|
|
|
|
apt-get update
|
|
|
|
/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y install speedtest
|
|
|
|
/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y install speedtest
|
|
|
|
|
|
|
|
|
|
|
|
systemctl enable glusterd
|
|
|
|
#systemctl enable glusterd
|
|
|
|
|
|
|
|
|
|
|
|
#snmpd snmp-mibs-downloader
|
|
|
|
#snmpd snmp-mibs-downloader
|
|
|
|
chsh -s /usr/bin/fish
|
|
|
|
chsh -s /usr/bin/fish
|
|
|
|