providers/virtualbox: interpolation added to error [GH-5308]

This commit is contained in:
Mitchell Hashimoto 2015-02-24 10:48:41 -08:00
parent 0d3584c5a9
commit 4f44ae5379
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ BUG FIXES:
- providers/hyperv: allow users to configure memory, cpu count, and vmname [GH-5183]
- providers/hyperv: import respects secure boot. [GH-5209]
- providers/virtualbox: read netmask from dhcpservers [GH-5233]
- providers/virtualbox: Fix exception when VirtualBox version is empty. [GH-5308]
- provisioners/ansible: fix SSH settings to support more than 5 ssh keys [GH-5017]
- provisioners/ansible: increase ansible connection timeout to 30 seconds [GH-5018]
- provisioners/docker: Only add docker user to group if exists. [GH-5315]

View File

@ -152,7 +152,8 @@ module VagrantPlugins
# This seems to happen on Windows for uncertain reasons.
# Raise an error otherwise the error is that they have an
# incompatible version of VirtualBox which isn't true.
raise Vagrant::Errors::VirtualBoxVersionEmpty
raise Vagrant::Errors::VirtualBoxVersionEmpty,
vboxmanage: @vboxmanage_path.to_s
end
end