From 1e8c2357f0efa13865b9d25396990ac97b62904f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 14 Jan 2022 21:13:01 +0100 Subject: sbin/itzks-update-disklserver-squashfs-images: Typo fix in priv_key_file name (d_rsa -> id_rsa). --- sbin/itzks-update-disklserver-squashfs-images | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/itzks-update-disklserver-squashfs-images b/sbin/itzks-update-disklserver-squashfs-images index 296884d..ef34f37 100755 --- a/sbin/itzks-update-disklserver-squashfs-images +++ b/sbin/itzks-update-disklserver-squashfs-images @@ -126,7 +126,7 @@ for chroot in ${ltsp_chroots}; do # Copy an appropriate SSH secret key for DLWs to ${LTSP_OPT}/${chroot}/root/.ssh/id_. # Currently we prefer disklserver:/root/.ssh/id_.DLW and fall back to the host's private key file # (i.e. disklserver:/root/.ssh/id_). - for priv_key_file in id_ecdsa id_ecdsa_sk id_ed25519 id_ed25519_sk d_rsa; do + for priv_key_file in id_ecdsa id_ecdsa_sk id_ed25519 id_ed25519_sk id_rsa; do if [ -e "/root/.ssh/${priv_key_file}.DLW" ] && [ ! -e "${LTSP_OPT}/${chroot}/root/.ssh/${priv_key_file}" ]; then cp "/root/.ssh/${priv_key_file}.DLW" "${LTSP_OPT}/${chroot}/root/.ssh/${priv_key_file}" -- cgit v1.2.3