lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.7.2 vs lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.8.0
- old
+ new
@@ -243,21 +243,21 @@
#
# @return [TrueClass,FalseClass] whether or not the name could be a Bento
# box
# @api private
def bento_box?(name)
- name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd|amazonlinux)-/
+ name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd|amazonlinux|almalinux)-/
end
# Returns whether or not the we expect the box to work with shared folders
# by matching against a whitelist of bento boxes
# @return [TrueClass,FalseClass] whether or not the box shoud work with
# shared folders
# @api private
def safe_share?(box)
return false if /(hyperv|libvirt)/.match?(config[:provider])
- box =~ %r{^bento/(centos|debian|fedora|opensuse|ubuntu|oracle|amazonlinux)-}
+ box =~ %r{^bento/(centos|debian|fedora|opensuse|ubuntu|oracle|amazonlinux|almalinux)-}
end
# Return true if we found the criteria to enable the cache_directory
# functionality
def enable_cache?