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

fixup! fix key copying

parent b52aa4c1
No related branches found
No related tags found
No related merge requests found
Pipeline #7816 passed with stages
in 46 seconds
......@@ -8,6 +8,8 @@ data:
user_keys_secret_dir="$3"
user_keys_dir="$4"
echo "$(ls -l $host_keys_secret_dir)"
if [ "$(ls $host_keys_secret_dir)" ]; then
cp -L "$host_keys_secret_dir/*" "$host_keys_dir"
chmod 600 "$host_keys_dir/*"
......
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