Changeset View
Changeset View
Standalone View
Standalone View
packer/scripts/post-install.sh
#!/bin/bash -eu | #!/bin/bash -eu | ||||
#### | #### | ||||
# apt configuration | # apt configuration | ||||
#### | #### | ||||
source /etc/os-release | |||||
cat <<EOF >/etc/apt/sources.list.d/debian.list | cat <<EOF >/etc/apt/sources.list.d/debian.list | ||||
deb http://deb.debian.org/debian buster main | deb http://deb.debian.org/debian ${VERSION_CODENAME} main | ||||
deb-src http://deb.debian.org/debian buster main | deb-src http://deb.debian.org/debian ${VERSION_CODENAME} main | ||||
deb http://deb.debian.org/debian-security/ buster/updates main | deb http://deb.debian.org/debian ${VERSION_CODENAME}-updates main | ||||
deb-src http://deb.debian.org/debian-security/ buster/updates main | deb-src http://deb.debian.org/debian ${VERSION_CODENAME}-updates main | ||||
deb http://deb.debian.org/debian buster-updates main | |||||
deb-src http://deb.debian.org/debian buster-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 | apt-get install -y man wget curl telnet net-tools dnsutils traceroute unbound gpg | ||||
#### | #### | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |