Skip to content

Commit

Permalink
_feat_: add arm64 to bento box name (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stromweld authored Feb 7, 2023
1 parent 75d4838 commit 620f5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/driver/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def create(state)
# @return [String,nil] the Vagrant box for this Instance
def default_box
if bento_box?(instance.platform.name)
"bento/#{instance.platform.name}"
"bento/#{instance.platform.name}#{"-arm64" if RbConfig::CONFIG["host_cpu"].eql?("arm64")}"
else
instance.platform.name
end
Expand Down

0 comments on commit 620f5f1

Please sign in to comment.