vagrant_commands 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant_commands/shell.rb +2 -2
- data/lib/vagrant_commands/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8898e256eb727cc1df5efb5216d8ad8b127d9eca
|
4
|
+
data.tar.gz: dcdcbaa82793d35e715c7554f0fdf0769de21bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e0b9fb131be8afe4fb8c5044ea5950e9bd9c2efbb7d1a879009262a8f217db0de800beac6ab8f2cdd9bc62aab4ed1c6788bbcda90b66e49f91f2e1345d6b98
|
7
|
+
data.tar.gz: 4c07f6e0529574ba45260ae87a8d5753021eb50fc49a40659a54466fcfe049017741ab146c52e94f1a46794c5ee45faefa32868a3882872fc04021df1889c2fc
|
@@ -4,8 +4,8 @@ module Shell
|
|
4
4
|
keyPath = get_ssh_details(/(?<=IdentityFile ).*/,box_name)
|
5
5
|
hostName = get_ssh_details(/(?<=HostName ).*/,box_name)
|
6
6
|
userName = get_ssh_details(/(?<=User ).*/,box_name)
|
7
|
-
puts "ssh -
|
8
|
-
puts `ssh -
|
7
|
+
puts "ssh -o StrictHostKeyChecking=no #{userName}@#{hostName} -p #{portNum} -i #{keyPath} \"#{command}\""
|
8
|
+
puts `ssh -o StrictHostKeyChecking=no #{userName}@#{hostName} -p #{portNum} -i #{keyPath} \"#{command}\"`
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.get_ssh_details(regex, box_name)
|