]> WPIA git - infra.git/blobdiff - packer/debian-9/scripts/00-install-packages.sh
Merge "add: packer template for debian-9 installation"
[infra.git] / packer / debian-9 / scripts / 00-install-packages.sh
diff --git a/packer/debian-9/scripts/00-install-packages.sh b/packer/debian-9/scripts/00-install-packages.sh
new file mode 100755 (executable)
index 0000000..4d4914a
--- /dev/null
@@ -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