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.

Reply via email to