X-Git-Url: https://code.wpia.club/?p=infra.git;a=blobdiff_plain;f=packer%2Fdebian-9%2Fscripts%2F00-install-packages.sh;fp=packer%2Fdebian-9%2Fscripts%2F00-install-packages.sh;h=4d4914a55295e30a9c854d7e0ec1ca0f7c74881a;hp=0000000000000000000000000000000000000000;hb=a3f7c461b72295fe9ebc4641565caa1d09621822;hpb=8bfb19b81b8a2ff4ccd6782b2516a2a18b0f8095 diff --git a/packer/debian-9/scripts/00-install-packages.sh b/packer/debian-9/scripts/00-install-packages.sh new file mode 100755 index 0000000..4d4914a --- /dev/null +++ b/packer/debian-9/scripts/00-install-packages.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +set -euo pipefail + +export DEBIAN_FRONTEND=noninteractive + +# Default packages installed, which makes the image usable for WPIA teams. These +# tools are pretty important to have for QEMU, as it makes the image smarter. +apt-get update +apt-get install --no-install-recommends \ + acpid \ + cloud-init \ + cloud-guest-utils \ + lsb-release \ + net-tools \ + qemu-guest-agent \ + puppet \ + puppet-master \ + --yes + +# These tools are just "nice to have". +apt-get install --no-install-recommends \ + curl \ + git \ + less \ + localepurge \ + vim \ + emacs-nox \ + tmux \ + --yes