Created
October 27, 2014 20:23
-
-
Save adamamyl/04610d948069bd02254c to your computer and use it in GitHub Desktop.
Combine ckan_dev users' keys into one file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~/projects/okf/okfn-infra/ansible/files/keys | |
for U in `grep -C 1 ckan_dev ../../vars/users.yml | awk -F: '/name:/ {print $NF}' | sed -e "s/\'//g" -e "s/ //g"` | |
do | |
cat $U*.pub >> ~/tmp/ckan_dev-keys.pub | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment