You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hardware-setup/post-debootstrap-installer.sh

18 lines
596 B
Bash

#!/bin/bash
set -e
echo 'console-setup console-setup/charmap47 select UTF-8' | debconf-set-selections
echo 'keyboard-configuration keyboard-configuration/variant select English (US)' | debconf-set-selections
echo 'keyboard-configuration kekeyboard-configuration keyboard-configuration/layout select English (US)' | debconf-set-selections
apt-get -y install gnupg2
apt-key add docker.key
echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get -y --purge autoremove gnupg2
apt-get -y install \
systemd \
dropbear