cloudstack_client 0.6.2 → 0.6.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/cloudstack_client/commands/server.rb +6 -5
- data/lib/cloudstack_client/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: 9a66228b7d7da1da3ee815f17081c952e54b5c7c
|
4
|
+
data.tar.gz: b0244e79989fc73990360714616686921594b0bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6f6c819d3505116ac2eb0d807a6d0984e272df95d89068c4c986b823cac21a854e9235f1cedbe4b855ab8da2315e8a619526283c0cb90d4a9fe21d09d0b91a6
|
7
|
+
data.tar.gz: 7913fc5646a282174e07fcb0d30149d9bf5d263c2c13277803e231046adc2d04dd82bd6fa83d28322e5d4d3aba7d7dafb17fdb7f6816c023e4cc4dfa55ebfd10
|
@@ -210,13 +210,14 @@ module CloudstackClient
|
|
210
210
|
end
|
211
211
|
end
|
212
212
|
if networks.empty?
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
213
|
+
unless default_network = get_default_network
|
214
|
+
puts "Error: No default network found"
|
215
|
+
exit 1
|
216
|
+
end
|
217
|
+
networks << default_network
|
218
218
|
end
|
219
219
|
network_ids = networks.map { |network|
|
220
|
+
puts network
|
220
221
|
network['id']
|
221
222
|
}
|
222
223
|
params['networkids'] = network_ids.join(',')
|