fog-libvirt 0.12.1 → 0.12.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12e7867890312a401d0733ed3bd058c7bfba0488d32748569d6de134e516a752
4
- data.tar.gz: 1e37605f3bd9fee08a79d18d4383bcb68f38d88675f12ead62b6366afc1c0a60
3
+ metadata.gz: f14f3c6f7a7006039ac17b404d7f533e5abcfb662d18984059c5a7f53305c186
4
+ data.tar.gz: d8ecdd32d3809c080ae2604fcdd20091c8b097cd75905c59ef0975559f7b6552
5
5
  SHA512:
6
- metadata.gz: 6c5a173e6974eaa247bad12a3d3cacd10a43a1679dba49a361eb179e6a2a5d58ed12dacdab08b25c24ea49d05024f26b6c9564a2fb8fbf95be3e0500af6447c5
7
- data.tar.gz: cb7536c410f12da3549d328e19dd6f997f0a3ae4795a90d6eea576bcca8e79a0c7a086ec8dc6b85c84e860d93ba70109d13cd3a0684769eec4991ff0c5311592
6
+ metadata.gz: 02e8650702e0275fedc29d61e61b882e9384b520a5e8700964d107e0c0c5544798fd9fd6c43a78d0a781ef464485b2465c5b5560272e8338d468e2bc25d9b230
7
+ data.tar.gz: 491a54f950cdb142b2a95cdf97e6e6fa378868374ba684d01a67d3884566f67c0e8c5b860bcd1b13d6e074dc1c5706208ca45e0c1cebcf2e4e72b367d74de24a
@@ -96,6 +96,10 @@ module Fog
96
96
  if flags.zero?
97
97
  service.vm_action(uuid, :undefine)
98
98
  else
99
+ # the test driver doesn't support UNDEFINE_NVRAM
100
+ if service.uri.driver == 'test'
101
+ flags ^= ::Libvirt::Domain::UNDEFINE_NVRAM
102
+ end
99
103
  service.vm_action(uuid, :undefine, flags)
100
104
  end
101
105
  volumes.each { |vol| vol.destroy } if options[:destroy_volumes]
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Libvirt
3
- VERSION = '0.12.1'
3
+ VERSION = '0.12.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-libvirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus (Wesley Beary)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-15 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core