Files
bladerunner/packer/scripts/install-base.sh
Kyle Isom 581b3972d1 packer: update boards and base images.
The base images make sure to remove snapd and fake-hwclock, as well
as using installing the rng-tools package.
2023-04-13 20:42:03 -07:00

15 lines
339 B
Bash
Executable File

#!/usr/bin/env bash
set -euxo pipefail
echo "==> Setting nameserver"
rm /etc/resolv.conf
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
echo "==> installing base updates"
apt-get -y update
apt-get -y install ansible apt-transport-https ca-certificates rng-tools
apt-get -y remove fake-hwclock snapd
apt-get -y clean
apt-get -y autoremove