opennebula 5.8.3 → 5.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59cb571959c796ba8b92646b4a8f9293fb19c252
4
- data.tar.gz: 4b7f2bd7fa08c2fd3a36a4d9a534ab05c5d9b2d5
3
+ metadata.gz: f59d4bd986b91e5368258c3047f5dd03d6ab10d7
4
+ data.tar.gz: b66c820993d318f745e76a968d17e7053e307bac
5
5
  SHA512:
6
- metadata.gz: 8660cd399a412161a278cf77992d8a5a11c7720bad4770dcd197c2608e85177fc345fc6834186a6e33614e160069229d84417bc549990fea43c8c004563d2892
7
- data.tar.gz: 2612e7931b904b7806f03e0524c98f5de766ae22b0487a4e6efdaf49fbef5d90299bebb77cab5d64b8d9932bd5d45bcefcd4ad879123915365342024ec9e1488
6
+ metadata.gz: 3eb65aeb299992b4ef3fa4f2f39e1d6dbc5882d97780d5a09854089c4c0b4c6cd6d506147682cb563661399d9a8ff8dd986f357da2e3aafe1346817c7b36622e
7
+ data.tar.gz: 0b4d53c3b262767ca7a8dfa460aa7aadec65206c17a2957d3f4491ab75d9081c0cdc51309e08d9ee92647983cc6f121a0d29cfa3dde144b069d47ebecc367269
@@ -50,7 +50,7 @@ end
50
50
  module CloudClient
51
51
 
52
52
  # OpenNebula version
53
- VERSION = '5.8.3'
53
+ VERSION = '5.8.4'
54
54
 
55
55
  # #########################################################################
56
56
  # Default location for the authentication file
@@ -71,5 +71,5 @@ require 'opennebula/vntemplate_pool'
71
71
  module OpenNebula
72
72
 
73
73
  # OpenNebula version
74
- VERSION = '5.8.3'
74
+ VERSION = '5.8.4'
75
75
  end
@@ -213,7 +213,13 @@ module OpenNebula
213
213
  type = ds[xpath]
214
214
 
215
215
  if !image_error && !ds_error
216
- if type == 'vcenter' && format != 'iso' && format != 'vmdk'
216
+ if type == 'vcenter' && format == 'qcow2'
217
+ image.replace('DEV_PREFIX' => 'sd')
218
+ image.delete_element('TEMPLATE/FORMAT')
219
+ image.delete_element('TEMPLATE/DRIVER')
220
+
221
+ image.update(image.template_like_str("TEMPLATE"))
222
+ elsif type == 'vcenter' && format != 'iso' && format != 'vmdk'
217
223
  image.replace('FORMAT' => 'vmdk')
218
224
  elsif type && type != 'vcenter' && format == 'vmdk'
219
225
  image.replace('FORMAT' => type)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opennebula
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.3
4
+ version: 5.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-18 00:00:00.000000000 Z
11
+ date: 2019-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri