vagrant-foodtaster-server 0.0.9 → 0.0.10
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.
|
@@ -10,12 +10,12 @@ module Vagrant
|
|
|
10
10
|
require 'sahara/session/virtualbox'
|
|
11
11
|
rescue LoadError
|
|
12
12
|
raise RuntimeError, <<-EOT.strip_heredoc
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
Cannot find `sahara' plugin. Please, make sure that `sahara' plugin is installed using command:
|
|
14
|
+
$ vagrant plugin list
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
If `sahara' plugin is not installed, install it:
|
|
17
|
+
$ vagrant plugin install sahara
|
|
18
|
+
EOT
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
|
|
@@ -61,6 +61,14 @@ module Vagrant
|
|
|
61
61
|
vm = get_vm(vm_name)
|
|
62
62
|
|
|
63
63
|
sahara_for(vm).rollback
|
|
64
|
+
|
|
65
|
+
# wait for SSH connection
|
|
66
|
+
# workaround for MacOS issue
|
|
67
|
+
retry_number = 0
|
|
68
|
+
while !vm.communicate.ready? && retry_number < 20
|
|
69
|
+
sleep 0.5
|
|
70
|
+
retry_number += 1
|
|
71
|
+
end
|
|
64
72
|
end
|
|
65
73
|
|
|
66
74
|
def shutdown_vm(vm_name)
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: vagrant-foodtaster-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.10
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Mike Lapshin
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-12-
|
|
13
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
prerelease: false
|