|
|
@ -16,12 +16,13 @@ apt-get -y install locales
|
|
|
|
### boot
|
|
|
|
### boot
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install mdadm cryptsetup btrfs-tools
|
|
|
|
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
|
|
|
|
mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/' > /etc/mdadm/mdadm.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# after cryptsetup, mdadm, ... because of update-initramfs
|
|
|
|
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install grub-pc
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install grub-pc
|
|
|
|
/grub.sh
|
|
|
|
/grub.sh
|
|
|
|
|
|
|
|
|
|
|
|