Suppose I have this Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/debian-12"
config.vm.define "box1", primary: true do |box1|
# do provisioning stuff here
end
config.vm.define "box2" do |box2|
# do provisioning stuff here
end
config.vm.define "box3" do |box3|
# do provisioning stuff here
end
end
Is there a way to use triggers to run a particular script on a particular VM once ALL the VMs are up & provisioned ?
Honestly, I have had a look at the docs and couldn’t quite figure out how to do it.