Latest
This commit is contained in:
parent
f287df7ce5
commit
1143707b48
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
{{ includeTemplate "universal/logg" }}
|
||||
|
||||
logg info 'Decrypting SSH keys stored in the `home/.chezmoitemplates/ssh` folder of the Install Doctor repo / fork.'
|
||||
find "{{ .chezmoi.sourceDir }}/.chezmoitemplates/ssh" -type f | while read SSH_FILE; do
|
||||
find "{{ .chezmoi.sourceDir }}/.chezmoitemplates/ssh" -type f -maxdepth 1 ! -name "*.pub" ! -name "authorized_keys*" ! -name "known_host*" ! -name "config" | while read SSH_FILE; do
|
||||
### Decrypt SSH file with Chezmoi
|
||||
logg info 'Decrypting the $(basename "$SSH_FILE") encrypted SSH file'
|
||||
chezmoi decrypt "$SSH_FILE" > "$HOME/.ssh/$(basename "$SSH_FILE")" || EXIT_CODE=$?
|
||||
|
|
Loading…
Reference in a new issue