Browse Source

Removed the line to push the ssh key to gitea

Key no longer needed here... master/common/post.cfg should take care of that.
darren-patch-1
dave 3 years ago
parent
commit
7e5978bca3
  1. 13
      albert/post.cfg

13
albert/post.cfg

@ -1,12 +1,13 @@
### REGISTER WITH GIT
#
## -- updated with new API token - and needs "-k" flag for the moment
curl -X POST "https://config.tombstones.org.uk:23000/api/v1/user/keys" \
-k \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: token 2b2182bbbb7e52b3193c4c9718c6e96c372f8156" \
-d "{ \"key\": \"$(cat /root/.ssh/id_rsa.pub)\", \"read_only\": true, \"title\": \"$(hostname -s)-$(date +'%s')\"}"
## -- removed - common/post.cfg ought to take care of this.
#curl -X POST "https://config.tombstones.org.uk:23000/api/v1/user/keys" \
#-k \
#-H "accept: application/json" \
#-H "Content-Type: application/json" \
#-H "Authorization: token 2b2182bbbb7e52b3193c4c9718c6e96c372f8156" \
#-d "{ \"key\": \"$(cat /root/.ssh/id_rsa.pub)\", \"read_only\": true, \"title\": \"$(hostname -s)-$(date +'%s')\"}"
### PUPPET
#

Loading…
Cancel
Save