fog-libvirt 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/fog-libvirt.gemspec +0 -1
- data/lib/fog/libvirt/models/compute/server.rb +5 -4
- data/lib/fog/libvirt/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12e7867890312a401d0733ed3bd058c7bfba0488d32748569d6de134e516a752
|
4
|
+
data.tar.gz: 1e37605f3bd9fee08a79d18d4383bcb68f38d88675f12ead62b6366afc1c0a60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c5a173e6974eaa247bad12a3d3cacd10a43a1679dba49a361eb179e6a2a5d58ed12dacdab08b25c24ea49d05024f26b6c9564a2fb8fbf95be3e0500af6447c5
|
7
|
+
data.tar.gz: cb7536c410f12da3549d328e19dd6f997f0a3ae4795a90d6eea576bcca8e79a0c7a086ec8dc6b85c84e860d93ba70109d13cd3a0684769eec4991ff0c5311592
|
data/Gemfile
CHANGED
data/fog-libvirt.gemspec
CHANGED
@@ -33,7 +33,6 @@ Gem::Specification.new do |s|
|
|
33
33
|
|
34
34
|
s.add_development_dependency("net-ssh")
|
35
35
|
s.add_development_dependency("minitest", "~> 5.0")
|
36
|
-
s.add_development_dependency("minitest-stub-const")
|
37
36
|
s.add_development_dependency("pry")
|
38
37
|
s.add_development_dependency("rake")
|
39
38
|
s.add_development_dependency("rubocop")
|
@@ -90,12 +90,13 @@ module Fog
|
|
90
90
|
volumes.first.path if volumes and volumes.first
|
91
91
|
end
|
92
92
|
|
93
|
-
def destroy(options={ :destroy_volumes => false, :flags =>
|
93
|
+
def destroy(options={ :destroy_volumes => false, :flags => ::Libvirt::Domain::UNDEFINE_NVRAM })
|
94
94
|
poweroff unless stopped?
|
95
|
-
|
95
|
+
flags = options.fetch(:flags, ::Libvirt::Domain::UNDEFINE_NVRAM)
|
96
|
+
if flags.zero?
|
96
97
|
service.vm_action(uuid, :undefine)
|
97
98
|
else
|
98
|
-
service.vm_action(uuid, :undefine,
|
99
|
+
service.vm_action(uuid, :undefine, flags)
|
99
100
|
end
|
100
101
|
volumes.each { |vol| vol.destroy } if options[:destroy_volumes]
|
101
102
|
true
|
@@ -408,7 +409,7 @@ module Fog
|
|
408
409
|
graphics.autoport = "yes"
|
409
410
|
end
|
410
411
|
graphics.listen = display[:listen] unless display[:listen].empty?
|
411
|
-
graphics.
|
412
|
+
graphics.passwd = display[:password] unless display[:password].empty?
|
412
413
|
|
413
414
|
xml.video do
|
414
415
|
xml.model(:type => "cirrus", :vram => 9216, :heads => 1)
|
data/lib/fog/libvirt/version.rb
CHANGED
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.
|
4
|
+
version: 0.12.1
|
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:
|
11
|
+
date: 2024-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '5.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: minitest-stub-const
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: pry
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -334,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
320
|
- !ruby/object:Gem::Version
|
335
321
|
version: '0'
|
336
322
|
requirements: []
|
337
|
-
rubygems_version: 3.4.
|
323
|
+
rubygems_version: 3.4.19
|
338
324
|
signing_key:
|
339
325
|
specification_version: 2
|
340
326
|
summary: Module for the 'fog' gem to support libvirt
|