|
|
@ -18,7 +18,7 @@ apt-get -y install locales
|
|
|
|
apt-get -y install mdadm cryptsetup btrfs-tools
|
|
|
|
apt-get -y install mdadm cryptsetup btrfs-tools
|
|
|
|
|
|
|
|
|
|
|
|
# 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/.*\/dev\/md\/?([0-9]+) .*UUID\=(.+?) .*/ARRAY \/dev\/md$1 UUID=$2/' > /etc/mdadm/mdadm.conf
|
|
|
|
|
|
|
|
|
|
|
|
# after cryptsetup, mdadm, ... because of update-initramfs
|
|
|
|
# after cryptsetup, mdadm, ... because of update-initramfs
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|