diff --git a/lib/kitchen/driver/vagrant.rb b/lib/kitchen/driver/vagrant.rb index f05ae60b..46d609f7 100644 --- a/lib/kitchen/driver/vagrant.rb +++ b/lib/kitchen/driver/vagrant.rb @@ -237,7 +237,7 @@ class << self # 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 @@ -247,7 +247,7 @@ def bento_box?(name) # @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