providers/virtualbox: check for provider config nilness
This commit is contained in:
parent
9a146d779c
commit
7e6ba7fa50
|
@ -4,6 +4,10 @@ IMPROVEMENTS:
|
|||
|
||||
- **New guest: Linux Mint** is now properly detected. [GH-3648]
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
- commands/package: `--base` works without crashing for VirtualBox.
|
||||
|
||||
## 1.6.0 (May 6, 2014)
|
||||
|
||||
BACKWARDS INCOMPATIBILITIES:
|
||||
|
|
|
@ -6,6 +6,7 @@ module VagrantPlugins
|
|||
def usable?(machine, raise_errors=false)
|
||||
# These synced folders only work if the provider if VirtualBox
|
||||
machine.provider_name == :virtualbox &&
|
||||
machine.provider_config &&
|
||||
machine.provider_config.functional_vboxsf
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue