Changeset View
Changeset View
Standalone View
Standalone View
proxmox/templates/scripts/post-install.sh
#!/bin/bash -eu | #!/bin/bash -eu | ||||
#### | #### | ||||
# apt configuration | # apt configuration | ||||
#### | #### | ||||
cat <<EOF >/etc/apt/sources.list.d/debian.list | source /etc/os-release | ||||
deb http://deb.debian.org/debian buster main | |||||
deb-src http://deb.debian.org/debian buster main | |||||
deb http://deb.debian.org/debian-security/ buster/updates main | cat <<EOF >/etc/apt/sources.list.d/debian.list | ||||
deb-src http://deb.debian.org/debian-security/ buster/updates main | deb http://deb.debian.org/debian ${VERSION_CODENAME} main | ||||
deb-src http://deb.debian.org/debian ${VERSION_CODENAME} main | |||||
deb http://deb.debian.org/debian buster-updates main | deb http://deb.debian.org/debian ${VERSION_CODENAME}-updates main | ||||
deb-src http://deb.debian.org/debian buster-updates main | deb-src http://deb.debian.org/debian ${VERSION_CODENAME}-updates main | ||||
EOF | EOF | ||||
export DEBIAN_FRONTEND=noninteractive | export DEBIAN_FRONTEND=noninteractive | ||||
apt-get update | apt-get update | ||||
apt-get install -y man wget curl telnet net-tools dnsutils traceroute unbound gpg aptitude | apt-get install -y man wget curl telnet net-tools dnsutils traceroute unbound gpg aptitude | ||||
aptitude -y install "?priority(standard)!~i?archive(stable)" | aptitude -y install "?priority(standard)!~i?archive(stable)" | ||||
#### | #### | ||||
# Puppet | # Puppet | ||||
#### | #### | ||||
apt-get install -y puppet gnupg | apt-get install -y puppet gnupg |