vagrant-gitcredentials 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,11 @@
|
|
1
1
|
module VagrantPlugins
|
2
2
|
module GitCredentials
|
3
|
-
module Util
|
4
|
-
srcPath= "scripts/github.sh"
|
5
|
-
destPath = "~/.ssh/github.sh"
|
6
|
-
|
3
|
+
module Util
|
7
4
|
# generates new ssh key and calls github v3 api to add key to user account
|
8
5
|
def createKey
|
9
6
|
promptCredentials()
|
7
|
+
srcPath= "scripts/github.sh"
|
8
|
+
destPath = "~/.ssh/github.sh"
|
10
9
|
# create script
|
11
10
|
@machine.communicate.upload(srcPath, destPath)
|
12
11
|
# set permissions for execution
|