From e63205d4fd2bc470a082873ab4ca083a05b01bf6 Mon Sep 17 00:00:00 2001 From: lub Date: Fri, 6 Jul 2018 22:14:59 +0200 Subject: [PATCH] correct dropbear authorized_keys path --- post-debootstrap-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index f505b32..a243019 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -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