|
|
|
@ -21,7 +21,7 @@ apt-get -y install mdadm cryptsetup btrfs-tools systemd systemd-sysv dropbear
|
|
|
|
|
mdadm --examine --scan | perl -pe 's/.*\/dev\/md\/?([0-9]+) .*UUID\=(.+?) .*/ARRAY \/dev\/md$1 UUID=$2/' > /etc/mdadm/mdadm.conf
|
|
|
|
|
|
|
|
|
|
# concat user keys for cryptsetup unlocking at boot
|
|
|
|
|
cat /authorized_keys/* > /etc/dropbear/authorized_keys
|
|
|
|
|
cat /authorized_keys/* > /etc/dropbear-initramfs/authorized_keys
|
|
|
|
|
|
|
|
|
|
# after cryptsetup, mdadm, ... because of update-initramfs
|
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|
|