summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-14 21:13:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-14 21:13:01 +0100
commit1e8c2357f0efa13865b9d25396990ac97b62904f (patch)
tree9a895ec9b636286cbad6ab33398733da8768dbe7
parentf1fad5f9ea6ef5f39ccaa2c06995b6fa2e090b55 (diff)
downloaditzks-systems-1e8c2357f0efa13865b9d25396990ac97b62904f.tar.gz
itzks-systems-1e8c2357f0efa13865b9d25396990ac97b62904f.tar.bz2
itzks-systems-1e8c2357f0efa13865b9d25396990ac97b62904f.zip
sbin/itzks-update-disklserver-squashfs-images: Typo fix in priv_key_file name (d_rsa -> id_rsa).
-rwxr-xr-xsbin/itzks-update-disklserver-squashfs-images2
1 files changed, 1 insertions, 1 deletions
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_<crypto>.
# Currently we prefer disklserver:/root/.ssh/id_<crypto>.DLW and fall back to the host's private key file
# (i.e. disklserver:/root/.ssh/id_<crypto>).
- 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}"