|
|
@ -13,7 +13,9 @@ echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8' | d
|
|
|
|
apt-get -y install locales
|
|
|
|
apt-get -y install locales
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# mdadm.conf
|
|
|
|
# mdadm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install mdadm
|
|
|
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/' > /etc/mdadm/mdadm.conf
|
|
|
@ -23,7 +25,7 @@ mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/'
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install linux-image-amd64 grub-pc
|
|
|
|
apt-get -y install linux-image-amd64 grub-pc
|
|
|
|
|
|
|
|
|
|
|
|
update-initramfs -k all
|
|
|
|
update-initramfs -c -k all
|
|
|
|
|
|
|
|
|
|
|
|
update-grub
|
|
|
|
update-grub
|
|
|
|
grub-install /dev/sda
|
|
|
|
grub-install /dev/sda
|
|
|
@ -48,3 +50,5 @@ apt-get -y install docker-ce
|
|
|
|
apt-get -y install \
|
|
|
|
apt-get -y install \
|
|
|
|
systemd \
|
|
|
|
systemd \
|
|
|
|
dropbear \
|
|
|
|
dropbear \
|
|
|
|
|
|
|
|
btrfs-utils \
|
|
|
|
|
|
|
|
cryptsetup
|
|
|
|