Warn that config.vm.customize is provider-specific for V1

This commit is contained in:
Mitchell Hashimoto 2013-02-07 15:10:40 -08:00
parent 4144db5042
commit 883efcf282
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ module VagrantPlugins
# If we have VM customizations, then we enable them on the
# VirtualBox provider on the new VM.
if !self.customizations.empty?
warnings << "`config.vm.customize` calls are VirtualBox-specific. If you're\n" +
"using any other provide, you'll have to find provider-specific configuration\n" +
"to translate to manually in your Vagrantfile."
new.vm.provider :virtualbox do |vb|
self.customizations.each do |customization|
vb.customize(customization)