From 8a0241f2b4492f0d67c7e28d28bf589ca2c030db Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 12 Dec 2013 16:17:53 -0800 Subject: [PATCH] core: box removal of a V1 box works --- CHANGELOG.md | 1 + lib/vagrant/action/builtin/box_remove.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e750bb704..f225fe186 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ BUG FIXES: + - core: box removal of a V1 box works - guests/debian,ubuntu: fix change\_host\_name for FQDNs with trailing dots [GH-2610] - guests/freebsd: configuring networks in the guest works properly diff --git a/lib/vagrant/action/builtin/box_remove.rb b/lib/vagrant/action/builtin/box_remove.rb index 3ae8bc1ac..93a1dd355 100644 --- a/lib/vagrant/action/builtin/box_remove.rb +++ b/lib/vagrant/action/builtin/box_remove.rb @@ -18,7 +18,7 @@ module Vagrant begin box = env[:box_collection].find(box_name, box_provider) rescue Vagrant::Errors::BoxUpgradeRequired - @env.boxes.upgrade(box_name) + env[:box_collection].upgrade(box_name) retry end