From 883efcf2825a3d307afacaf7eba32a2f31ff0a8a Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 7 Feb 2013 15:10:40 -0800 Subject: [PATCH] Warn that config.vm.customize is provider-specific for V1 --- plugins/kernel_v1/config/vm.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/kernel_v1/config/vm.rb b/plugins/kernel_v1/config/vm.rb index 271e713b4..af98622d1 100644 --- a/plugins/kernel_v1/config/vm.rb +++ b/plugins/kernel_v1/config/vm.rb @@ -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)