Hello,

What do you mean by override? that is example

- run this_for_vmware.sh
- run this_for_virtualbox.sh

???



On Tue, Apr 8, 2014 at 10:57 AM, Kurt Bosselman <[email protected]> wrote:

> Vagrant 1.5.1
>
> On Monday, April 7, 2014 3:51:28 PM UTC-7, Kurt Bosselman wrote:
>>
>> I'm trying to use this example from the Vagrant website for overriding
>> provisioner settings:
>>
>> Vagrant.configure("2") do |config|
>>   config.vm.provision "shell",
>>     inline: "echo foo", id: "foo"
>>
>>   config.vm.define "web" do |web|
>>     web.vm.provision "shell",
>>       inline: "echo bar", id: "foo"
>>   end
>> end
>>
>> And I receive the following error:
>>
>>
>> There are errors in the configuration of this machine. Please fix
>>
>> the following errors and try again:
>>
>>
>> shell provisioner:
>>
>> * The following settings shouldn't exist: id
>>
>>
>> Is there a new or different way to override a provision definition for a
>> specific provider?
>>
>>
>> Thanks
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to