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
endThere 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
Vagrant 1.5.1
--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
shell provisioner:
* The following settings shouldn't exist: preserve_order
Not entirely sure I'm using it correctly as I couldn't find an example:
config.vm.provider "virtualbox" do |vb, override|
override.vm.provision "shell",
inline: "echo virtualbox chef-install override", id: "chef-install", preserve_order: true
end
Aravind.
--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/jL0OP5M4kCU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.