OpenVZ Forum


Home » General » Support » Execute Script on HN after VM Start (I want to execute a script on the hostnode after the VM has started)
Re: Execute Script on HN after VM Start [message #39015 is a reply to message #38992] Thu, 04 March 2010 08:45 Go to previous messageGo to previous message
TheStig is currently offline  TheStig
Messages: 94
Registered: December 2008
Member
You could include a script at the end of the mount-script that sleeps for a couple of seconds, checks if the VPS has started up correctly (using vzlist) and does whatever you want it to do on the HN.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HN default internal IP
Next Topic: Ubuntu 9.04 wrong permissions on /dev/null after restart
Goto Forum:
  


Current Time: Mon Sep 01 06:13:55 GMT 2025

Total time taken to generate the page: 0.05743 seconds