|
|
@ -1,6 +1,7 @@
|
|
|
|
#!/bin/bash
|
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# locales
|
|
|
|
# locales
|
|
|
|
|
|
|
|
|
|
|
|
echo 'console-setup console-setup/charmap47 select UTF-8' | debconf-set-selections
|
|
|
|
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
|
|
|
|
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
|
|
|
|
update-grub
|
|
|
|
grub-install /dev/sda
|
|
|
|
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
|
|
|
|
echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list
|
|
|
|
apt-get update
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install docker-ce
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# tbd
|
|
|
|
# tbd
|
|
|
|
|
|
|
|
|
|
|
|