How to launch a script at boot, as soon as all VE are ready ?

softec

New Member
Oct 14, 2009
3
0
1
When I reboot the HN, all VE marked to start at boot are properly started, once all those VE are ready, I would like to launch a script (to reconfigure the firewall). I know there is per VE action scripts, but what I need is more an all VE ready action script. Googling has not reveal anything useful.Does anyone knows how to do that properly ?TIADenis
 
Thanks for your suggestion, it was my first try. I have taken the init script of pvebanner to build my own, but it does not work. It look like it happen before the all VE has been properly started anyway. I presume the VE are started asynchronously at boot, but I have not found where this happen precisely.
 
you could also periodically check (service, or cron job) if all vm are online, and what to do when some or all of them go offline for any reason...

Marco