class Kitchen::Driver::Aws::StandardPlatform::Freebsd
Public Class Methods
Source
# File lib/kitchen/driver/aws/standard_platform/freebsd.rb, line 43 def self.from_image(driver, image) return unless /freebsd/i.match?(image.name) image.name =~ /\b(\d+(\.\d+)?)\b/i new(driver, "freebsd", (Regexp.last_match || [])[1], image.architecture) end
Public Instance Methods
Source
# File lib/kitchen/driver/aws/standard_platform/freebsd.rb, line 34 def image_search search = { "owner-id" => "118940168514", "name" => ["FreeBSD #{version}*-RELEASE*", "FreeBSD/EC2 #{version}*-RELEASE*"], } search["architecture"] = architecture if architecture search end
Source
# File lib/kitchen/driver/aws/standard_platform/freebsd.rb, line 32 def sudo_command; end
Source
# File lib/kitchen/driver/aws/standard_platform/freebsd.rb, line 28 def username "ec2-user" end
default username for this platform’s ami @return [String]