From 789cfbdd775581a3301befa80e92e1c3c8231b92 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Tue, 18 Sep 2018 14:27:45 +0200
Subject: [PATCH] Add ssh key to sftp

---
 postinstall_partage.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/postinstall_partage.sh b/postinstall_partage.sh
index cdf3070..d4a4727 100755
--- a/postinstall_partage.sh
+++ b/postinstall_partage.sh
@@ -42,3 +42,6 @@ done
 
 line="0 1 1 * * $DIR/registry/scripts/clean.sh > /dev/null 2>&1"
 (crontab -l; echo "${line}") | crontab -
+
+# Copy ssh key to tftp
+cp ~/.ssh/id_rsa.pub /var/lib/tftpboot/ltsp/id_rsa.pub
-- 
GitLab