lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.4.0 vs lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.5.0
- old
+ new
@@ -235,20 +235,20 @@
#
# @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)-/
+ name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd|amazonlinux)-/
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 config[:provider] =~ /(hyperv|libvirt)/
- box =~ /^bento\/(centos|debian|fedora|opensuse|ubuntu|oracle)-/
+ box =~ /^bento\/(centos|debian|fedora|opensuse|ubuntu|oracle|amazonlinux)-/
end
# Return true if we found the criteria to enable the cache_directory
# functionality
def enable_cache?