OpenVZ Forum


Home » General » Support » How to start script when the VE starts
How to start script when the VE starts [message #40667] Fri, 17 September 2010 10:12 Go to previous message
open vau zett is currently offline  open vau zett
Messages: 2
Registered: September 2010
Location: Germany
Junior Member
Hello,

Has anybody an indea of how to start a shell-script when a VE starts?

Each single Container needs to be given a route to get its network working. I'd like to do this when a container is being started.
I'd like to have a smart solution, i. e. the script should only be executed when its container is being started (onboot=yes).

This is important, because when the main server is rebooted unattendedly, the route should only be applied to containers that have been automatically started.

Any ideas? Thanks in advance!


Yours,
open vau zett
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ubuntu 10.04 container hangs after vzrestore
Next Topic: Need help with installing OpenVZ on Ubuntu 10.04
Goto Forum:
  


Current Time: Thu Jul 18 01:23:29 GMT 2024

Total time taken to generate the page: 0.02653 seconds