correct dropbear authorized_keys path

master
lub 6 years ago
parent 03d7a04cd5
commit e63205d4fd

@ -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

Loading…
Cancel
Save