From 68b518e92b041f3fb84207ed99eacf2463d5943f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 11 May 2018 18:10:38 +0200 Subject: [PATCH] WIP --- post-debootstrap-installer.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index 0a883fc..89df4f3 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e + # locales echo 'console-setup console-setup/charmap47 select UTF-8' | debconf-set-selections @@ -18,9 +19,11 @@ apt-get -y install locales mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/' > /etc/mdadm/mdadm.conf -# GRUB +# boot -apt-get -y install +apt-get -y install linux-image-amd64 grub-pc + +update-initramfs -k all update-grub grub-install /dev/sda @@ -37,6 +40,8 @@ apt-get -y --purge autoremove gnupg2 echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list apt-get update +apt-get -y install docker-ce + # tbd