Skip to content

Commit

Permalink
Merge pull request #355 from test-kitchen/fix-349
Browse files Browse the repository at this point in the history
Fixing #349 - allow bento/hardenedbsd
  • Loading branch information
Seth Thomas authored Apr 24, 2018
2 parents fcdce9c + 1a027d9 commit c6b65a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/kitchen/driver/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class << self
# box
# @api private
def bento_box?(name)
name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle)-/
name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd)-/
end

# Returns whether or not the we expect the box to work with shared folders
Expand Down
2 changes: 1 addition & 1 deletion spec/kitchen/driver/vagrant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def run_command(_cmd, options = {})
]
end

%w{centos debian fedora opensuse ubuntu oracle freebsd}.each do |name|
%w{centos debian fedora opensuse ubuntu oracle freebsd hardenedbsd}.each do |name|

context "for known bento platform names starting with #{name}" do

Expand Down

0 comments on commit c6b65a6

Please sign in to comment.