|
|
|
@ -13,24 +13,22 @@ echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8' | d
|
|
|
|
|
apt-get -y install locales
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# mdadm
|
|
|
|
|
### boot
|
|
|
|
|
|
|
|
|
|
apt-get -y install mdadm
|
|
|
|
|
apt-get -y install mdadm cryptsetup btrfs-tools
|
|
|
|
|
# after cryptsetup, mdadm, ... because of update-initramfs
|
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|
|
|
|
|
|
|
#replace rescue system hostname with real hostname
|
|
|
|
|
# replace rescue system hostname with real hostname
|
|
|
|
|
mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/' > /etc/mdadm/mdadm.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# boot
|
|
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install grub-pc
|
|
|
|
|
/grub.sh
|
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|
|
apt-get -y install grub-pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Docker
|
|
|
|
|
### Docker
|
|
|
|
|
|
|
|
|
|
#add docker key
|
|
|
|
|
# add docker key
|
|
|
|
|
apt-get -y install gnupg2
|
|
|
|
|
apt-key add docker.key
|
|
|
|
|
apt-get -y --purge autoremove gnupg2
|
|
|
|
@ -41,10 +39,9 @@ apt-get update
|
|
|
|
|
apt-get -y install docker-ce
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# tbd
|
|
|
|
|
### tbd
|
|
|
|
|
|
|
|
|
|
apt-get -y install \
|
|
|
|
|
systemd \
|
|
|
|
|
dropbear \
|
|
|
|
|
btrfs-utils \
|
|
|
|
|
cryptsetup
|
|
|
|
|
man-db
|
|
|
|
|