a
This commit is contained in:
parent
4e2da675fb
commit
920956b70a
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ setup_ssh() {
|
||||||
echo "$metadata" | jq -r '.["ssh-key-list"] | .[]' > ssh-key-list.txt
|
echo "$metadata" | jq -r '.["ssh-key-list"] | .[]' > ssh-key-list.txt
|
||||||
while read ssh_key; do
|
while read ssh_key; do
|
||||||
if ! grep -q "$ssh_key" $ssh_authorized_keys_path; then
|
if ! grep -q "$ssh_key" $ssh_authorized_keys_path; then
|
||||||
echo $ssh_key >> $ssh_authorized_keys_path
|
echo $ssh_key >> $ssh_authorized_keys_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done < ssh-key-list.txt
|
done < ssh-key-list.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue