Sha256: 8278fe7a08dd3d6178895284a74cf425c81d3625e34ec840bfe5ae070e42b8a8
Contents?: true
Size: 444 Bytes
Versions: 7
Compression:
Stored size: 444 Bytes
Contents
module Fog module Compute class XenServer class Real def custom_templates data = @connection.request(:parser => Fog::Parsers::XenServer::GetRecords.new, :method => "VM.get_all_records") data.keep_if { |vm| vm[:is_a_template] && vm[:other_config]["default_template"].nil? } servers.load(data) rescue Fog::XenServer::RequestFailed => e [] end end end end end
Version data entries
7 entries across 5 versions & 2 rubygems