fix: cloonar assistant config server

This commit is contained in:
2025-04-30 15:54:45 +02:00
parent 7ac54dd987
commit 6f9b384caa
3 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ in {
};
# the little awk script to extract the key for $1
"ssh/sftp-fetch-key.sh" = {
"cloonar_assistant_ssh/sftp-fetch-key.sh" = {
text = ''
#!/usr/bin/env bash
awk -v u="$1" '$1==u { $1=""; sub(/^ +/, ""); print }' /etc/cloonar_assistant_ssh/sftp_users_keys