diff --git a/plugins/kernel_v2/config/disk.rb b/plugins/kernel_v2/config/disk.rb index 6bf9a1098..ec4a57f92 100644 --- a/plugins/kernel_v2/config/disk.rb +++ b/plugins/kernel_v2/config/disk.rb @@ -140,6 +140,12 @@ module VagrantPlugins end end + if @provider_config + if !@provider_config.keys.include?(machine.provider_name) + machine.env.ui.warn("Guest '#{machine.name}' using provider '#{machine.provider_name}' has provider specific config options for a provider other than '#{machine.provider_name}'. These provider config options will be ignored for this guest") + end + end + errors end