Skip to content
Snippets Groups Projects
Verified Commit 33af670c authored by David Beniamine's avatar David Beniamine
Browse files

Wait for ssh key

parent 27f0e3e6
No related branches found
No related tags found
No related merge requests found
......@@ -48,4 +48,9 @@ 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" ]
do
sleep 10
done
cp ~/.ssh/id_rsa.pub /var/lib/tftpboot/ltsp/id_rsa.pub
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment