class Kitchen::Driver::Aws::StandardPlatform::Freebsd

www.daemonology.net/freebsd-on-ec2/

Public Class Methods

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

sudo_command() click to toggle source
# File lib/kitchen/driver/aws/standard_platform/freebsd.rb, line 32
def sudo_command; end
username() click to toggle source

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

# File lib/kitchen/driver/aws/standard_platform/freebsd.rb, line 28
def username
  "ec2-user"
end