Properly convert provider name to symbol when searching for boxes

[GH-1691]
This commit is contained in:
Mitchell Hashimoto 2013-05-04 09:51:02 -07:00
parent 4f563e3be6
commit ccfd321ef9
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@ BUG FIXES:
carry on checks whether the halt succeeded. [GH-1679]
- Handle the case where a roles path for Chef solo isn't properly
defined. [GH-1665]
- Finding V1 boxes now works properly again to avoid "box not found"
errors. [GH-1691]
## 1.2.2 (April 23, 2013)

View File

@ -234,7 +234,7 @@ module Vagrant
# If we're looking for a VirtualBox box, then we check if there is
# a V1 box.
if provider == :virtualbox
if provider.to_sym == :virtualbox
# Check if a V1 version of this box exists, and if so, raise an
# exception notifying the caller that the box exists but needs
# to be upgraded. We don't do the upgrade here because it can be