vagrant-mcs 0.7.2 → 0.7.3
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.
- checksums.yaml +4 -4
- data/lib/vagrant-mcs/action/run_instance.rb +2 -1
- data/lib/vagrant-mcs/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: 9b15da10b4228ef13b8b777f14b31fd66366f434
|
4
|
+
data.tar.gz: 10a899a6c36d74ce18c331ad7778256e913b2ea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb3d9dcd51b9d511b75e3aa60e4b52506062acb452ac6fdf9f1099991852b99f6699a182d878b148240e08d6f745bdbd9798808b7eba8974f9dd484676ef97a6
|
7
|
+
data.tar.gz: 8c90366d214bff885a6fde68b4144a1e0514618c370ae05ec534c9851e80ce000e482aa1d17c8a01fd92679f5b3404fe665cab009e979a175870778d1d81bbe1
|
@@ -101,6 +101,7 @@ module VagrantPlugins
|
|
101
101
|
begin
|
102
102
|
# todo
|
103
103
|
server = env[:mcs_compute].create_instance('fa1026fe-c082-4ead-8458-802bf65ca64c', 'C1_M1', nil, nil, nil, datadisk=9, bandwidth=2)
|
104
|
+
#puts server
|
104
105
|
#server = env[:mcs_compute].servers.create(options)
|
105
106
|
rescue Fog::Compute::MCS::NotFound => e
|
106
107
|
# Invalid subnet doesn't have its own error so we catch and
|
@@ -120,7 +121,7 @@ module VagrantPlugins
|
|
120
121
|
end
|
121
122
|
|
122
123
|
# Immediately save the ID since it is created at this point.
|
123
|
-
env[:machine].id = server.
|
124
|
+
env[:machine].id = server.instanceId
|
124
125
|
|
125
126
|
# Wait for the instance to be ready first
|
126
127
|
env[:metrics]["instance_ready_time"] = Util::Timer.time do
|
data/lib/vagrant-mcs/version.rb
CHANGED