lib/kitchen/driver/aws/standard_platform/rhel.rb in kitchen-ec2-3.5.0 vs lib/kitchen/driver/aws/standard_platform/rhel.rb in kitchen-ec2-3.6.0
- old
+ new
@@ -27,9 +27,11 @@
def initialize(driver, _name, version, architecture)
# rhel = el
super(driver, "rhel", version, architecture)
end
+ # default username for this platform's ami
+ # @return [String]
def username
(version && version.to_f < 6.4) ? "root" : "ec2-user"
end
def image_search