Added script to import already installed ssh- and gpg keys

This commit is contained in:
Michael Mandl 2021-02-07 14:48:38 +01:00
parent 6ddc952e50
commit e383a40f6c
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
2 changed files with 9 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/roles/user-account/files/ssh/
/roles/user-account/files/gnupg/

7
import-local-keys.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
mkdir -p roles/user-account/files/ssh
cp -v /home/mandlm/.ssh/id_rsa* roles/user-account/files/ssh/
mkdir -p roles/user-account/files/gnupg
cp -rv /home/mandlm/.gnupg/* roles/user-account/files/gnupg/