Skip to content
Snippets Groups Projects
Commit 0ba30ff2 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

fixup! fix key copying

parent 251d5492
No related branches found
No related tags found
No related merge requests found
Pipeline #7817 passed with stage
in 18 seconds
......@@ -11,14 +11,14 @@ data:
echo "$(ls -l $host_keys_secret_dir)"
if [ "$(ls $host_keys_secret_dir)" ]; then
cp -L "$host_keys_secret_dir/*" "$host_keys_dir"
cp -L $host_keys_secret_dir/* $host_keys_dir
chmod 600 "$host_keys_dir/*"
else
echo "Host keys are empty!"
fi
if [ "$(ls $user_keys_secret_dir)" ]; then
cp -L "$user_keys_secret_dir/*" "$user_keys_dir"
cp -L $user_keys_secret_dir/* $user_keys_dir
else
echo "User keys are empty."
fi
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment