Better message when using VirtualBox config
This commit is contained in:
parent
40e9ce6252
commit
bd1467dfe8
|
@ -110,8 +110,8 @@ module VagrantPlugins
|
||||||
# VirtualBox provider on the new VM.
|
# VirtualBox provider on the new VM.
|
||||||
if !self.customizations.empty?
|
if !self.customizations.empty?
|
||||||
warnings << "`config.vm.customize` calls are VirtualBox-specific. If you're\n" +
|
warnings << "`config.vm.customize` calls are VirtualBox-specific. If you're\n" +
|
||||||
"using any other provider, you'll have to find provider-specific configuration\n" +
|
"using any other provider, you'll have to use config.vm.provider in a\n" +
|
||||||
"to translate to manually in your Vagrantfile."
|
"v2 configuration block."
|
||||||
|
|
||||||
new.vm.provider :virtualbox do |vb|
|
new.vm.provider :virtualbox do |vb|
|
||||||
self.customizations.each do |customization|
|
self.customizations.each do |customization|
|
||||||
|
|
Loading…
Reference in New Issue