From 68b0bbd7cd61e492a0f02a869caeb0ff5e535a8b Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Fri, 28 Sep 2018 15:37:01 +0200
Subject: [PATCH] post install done

---
 postinstall_partage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postinstall_partage.sh b/postinstall_partage.sh
index e3d8f70..58da62b 100755
--- a/postinstall_partage.sh
+++ b/postinstall_partage.sh
@@ -48,7 +48,7 @@ line="0 1 1 * * $DIR/registry/scripts/clean.sh > /dev/null 2>&1"
 (crontab -l; echo "${line}") | crontab -
 
 # Copy ssh key to tftp
-while [ ! -e "~/.ssh/id_rsa.pub" ]
+while [ ! -e "/root/.ssh/id_rsa.pub" ]
 do
     sleep 10
 done
-- 
GitLab