class Kitchen::Driver::Aws::StandardPlatform::Fedora
docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Cloud_Guide/ch02.html#id697643
Public Class Methods
Source
# File lib/kitchen/driver/aws/standard_platform/fedora.rb, line 41 def self.from_image(driver, image) return unless /fedora/i.match?(image.name) image.name =~ /\b(\d+(\.\d+)?)\b/i new(driver, "fedora", (Regexp.last_match || [])[1], image.architecture) end
Public Instance Methods
Source
# File lib/kitchen/driver/aws/standard_platform/fedora.rb, line 32 def image_search search = { "owner-id" => "125523088429", "name" => version ? "Fedora-Cloud-Base-#{version}-*" : "Fedora-Cloud-Base-*", } search["architecture"] = architecture if architecture search end
Source
# File lib/kitchen/driver/aws/standard_platform/fedora.rb, line 28 def username "fedora" end
default username for this platform’s ami @return [String]