@augerp without seeing the updated Vagrantfile it might be tricky to know exactly what’s wrong, but my guess from looking at the error is you might of defined something like:
config.trigger.after [:up, :resume, :reload] do |trigger|
trigger.validate = "hostile set #{ip_address} #{domain_name}"
end
Hey @augerp -You might of misread my comment, I was guessing as to what your error was based on the message validiate. Either way, it should be run. So once you change it to run, can you share the Vagrantfile and error message? Thanks.
Ahhh huh @augerp. I see the issue now. I was misremembering how to define a run option for triggers, so apologies for misleading you. It should look like this:
config.trigger.after :up do |trigger|
trigger.info = "More information"
trigger.run = {inline: "bash -c 'bash script goes here'"}
end
You’ll want to do something like:
trigger.run = {inline: "bash -c 'hostile set #{ip_address} #{domain_name}'"}
Sorry for the misdirection on my part! Hopefully that works.
Brian
the issue is it was working before and the user that did this is gone and nobody know what we have to do to make it work , now we are changing so many stuff we are getting confuse
can you give me some direction ?
we dont know where to change the line you are telling me to do
@augerp - This error is saying that you’ve upgraded your VMWare Workstation license, but not the Vagrant VMWare plugin license. You’ll want to do that if you wish to use a newer version of workstation.