mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-08 16:26:25 -04:00
Warn that config.vm.customize is provider-specific for V1
This commit is contained in:
parent
4144db5042
commit
883efcf282
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue