vagrant-gitcredentials 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ module VagrantPlugins
|
|
8
8
|
script.concat(["ssh-keygen -N '' -f ~/.ssh/github_rsa", "ssh-add ~/.ssh/github_rsa"])
|
9
9
|
script.concat(["set -- $(<~/.ssh/github_rsa.pub)", 'JSON=\'{"title":"vagrant provision key", "key": "ssh-rsa \'$2\'"}\''])
|
10
10
|
script.concat(['curl -u "$GITHUB_USERNAME:$GITHUB_PASSWORD" -d "$JSON" https://api.github.com/user/keys'])
|
11
|
-
@machine.communicate.execute("
|
11
|
+
@machine.communicate.execute("echo '' > ~/.ssh/github.sh")
|
12
12
|
# create script
|
13
13
|
script.each {
|
14
14
|
|l|
|