vagrant-gitcredentials 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|