rbovirt 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rbovirt might be problematic. Click here for more details.
- data/VERSION +1 -1
- data/lib/client/cluster_api.rb +1 -1
- data/lib/ovirt/vm.rb +1 -1
- data/rbovirt.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.17
|
data/lib/client/cluster_api.rb
CHANGED
@@ -17,7 +17,7 @@ module OVIRT
|
|
17
17
|
http_get(path, headers).xpath('/clusters/cluster').collect do |cl|
|
18
18
|
cluster = OVIRT::Cluster.new(self, cl)
|
19
19
|
#the following line is needed as a work-around a bug in RHEV 3.0 rest-api
|
20
|
-
cluster if
|
20
|
+
cluster if filtered_api || (cluster.datacenter.id == current_datacenter.id)
|
21
21
|
end.compact
|
22
22
|
end
|
23
23
|
|
data/lib/ovirt/vm.rb
CHANGED
@@ -82,7 +82,7 @@ module OVIRT
|
|
82
82
|
} if(opts[:user_data_method] && opts[:user_data_method] == :custom_property)
|
83
83
|
payloads {
|
84
84
|
payload(:type => 'floppy') {
|
85
|
-
|
85
|
+
file(:name => "#{opts[:fileinject_path] || OVIRT::FILEINJECT_PATH}") { content(Base64::decode64(opts[:user_data])) }
|
86
86
|
}
|
87
87
|
} if(opts[:user_data_method] && opts[:user_data_method] == :payload)
|
88
88
|
}
|
data/rbovirt.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbovirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
184
|
rubyforge_project:
|
185
|
-
rubygems_version: 1.8.
|
185
|
+
rubygems_version: 1.8.24
|
186
186
|
signing_key:
|
187
187
|
specification_version: 3
|
188
188
|
summary: A Ruby client for oVirt REST API
|