lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.14.0 vs lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.14.1
- old
+ new
@@ -318,10 +318,10 @@
# Create vagrant command to remove older versions of the box
def finalize_box_auto_prune!
return if config[:box_auto_prune].nil?
- config[:box_auto_prune] = "vagrant box prune --keep-active-boxes --name #{config[:box]} --provider #{config[:provider]}"
+ config[:box_auto_prune] = "vagrant box prune --force --keep-active-boxes --name #{config[:box]} --provider #{config[:provider]}"
end
# Replaces any `{{vagrant_root}}` tokens in the pre create command.
#
# @api private