|
|
|
@ -26,6 +26,9 @@ mdadm --examine --scan | perl -pe 's/.*\/dev\/md\/?([0-9]+) .*UUID\=(.+?) .*/ARR
|
|
|
|
|
# concat user keys for cryptsetup unlocking at boot
|
|
|
|
|
cat /hardware-setup/authorized_keys/* > /etc/dropbear-initramfs/authorized_keys
|
|
|
|
|
|
|
|
|
|
# set dropbear port to something other than 22, because of openssh
|
|
|
|
|
sed -i 's/DROPBEAR_PORT=.*/DROPBEAR_PORT=222/' /etc/default/dropbear
|
|
|
|
|
|
|
|
|
|
# after cryptsetup, mdadm, ... because of update-initramfs
|
|
|
|
|
apt-get -y install linux-image-amd64
|
|
|
|
|
|
|
|
|
|