How to start script when the VE starts [message #40667] |
Fri, 17 September 2010 10:12 |
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
|
|
|