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

from_image(driver, image) click to toggle 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

username() click to toggle source

default username for this platform’s ami @return [String]

# File lib/kitchen/driver/aws/standard_platform/fedora.rb, line 28
def username
  "fedora"
end