vagrant-mos 0.9.56 → 0.9.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-mos/action/read_state.rb +1 -7
- data/lib/vagrant-mos/action/run_instance.rb +0 -1
- data/lib/vagrant-mos/version.rb +1 -1
- metadata +1 -2
- data/vagrant-mos-0.9.55.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea15fc894b57e3f82b15d2e5d93e27c104a4ba39
|
4
|
+
data.tar.gz: 42100dd56da439229b5e56400fe7557206691315
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa44e3f6c9fc8ca6125facd794f7d125c8b7ecdd001dfe9faeec81aa97dc28dabdb33eb7367378fb9a1cf555049134f8ad96143c4d19f53e0f517736f076b408
|
7
|
+
data.tar.gz: e7197d5141effd518d721aad932dc5dd266739e3081bd8122b4e62107775c6ccd381bd3850f93dcfb5251eeb033a9bfb31a5e4295925960106796f85263c3a9f
|
@@ -21,13 +21,7 @@ module VagrantPlugins
|
|
21
21
|
return :not_created if machine.id.nil?
|
22
22
|
|
23
23
|
# Find the machine
|
24
|
-
|
25
|
-
puts 'machine.id',machine.id
|
26
|
-
puts 'mos',mos
|
27
|
-
puts 'describe_instances()',mos.describe_instances()
|
28
|
-
puts 'describe_instances(id)',mos.describe_instances([machine.id.to_s])
|
29
|
-
sleep(10)
|
30
|
-
server = (mos.describe_instances([machine.id.to_s]))["Instance"]
|
24
|
+
server = (mos.describe_instances([machine.id]))["Instance"]
|
31
25
|
if server.nil? || [:"deleting"].include?(server["status"])
|
32
26
|
# The machine can't be found
|
33
27
|
@logger.info("Machine not found or terminated, assuming it got destroyed.")
|
@@ -59,7 +59,6 @@ module VagrantPlugins
|
|
59
59
|
begin
|
60
60
|
# create a handler to access MOS
|
61
61
|
server = env[:mos_compute].create_instance(options[:template_id], options[:flavor_id], nil, options[:name], options[:key_name], options[:data_disk], options[:band_width])
|
62
|
-
puts 'create server',server
|
63
62
|
rescue Exception => e
|
64
63
|
raise Errors::MosError, :message => e.message
|
65
64
|
end
|
data/lib/vagrant-mos/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-mos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.60
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yangcs2009
|
@@ -125,7 +125,6 @@ files:
|
|
125
125
|
- spec/vagrant-mos/config_spec.rb
|
126
126
|
- templates/metadata.json.erb
|
127
127
|
- templates/vagrant-mos_package_Vagrantfile.erb
|
128
|
-
- vagrant-mos-0.9.55.gem
|
129
128
|
- vagrant-mos.gemspec
|
130
129
|
homepage: http://www.vagrantup.com
|
131
130
|
licenses:
|
data/vagrant-mos-0.9.55.gem
DELETED
Binary file
|