OpenVZ Forum - RDF feed
type: channel
items: execute HN script after VE starts :: similar to <veid>.mount
items: Re: execute HN script after VE starts :: similar to <veid>.mount

execute HN script after VE starts :: similar to <veid>.mount
type: item
description: Hello, I want to execute a script on the HN after a VE is started. the <veid>.mount script works but executes before the VE is actually running. Is there any hack to have the equivalent of <veid>.start? basically I just want "vzctl exec <veid> command" automatically run after a VE starts. I do not want to put the script in the VE's startup scripts. Thanks for any pointers! Rick
creator: rickb
date: 2007-11-15T16:28:29-00:00

Re: execute HN script after VE starts :: similar to <veid>.mount
type: item
description: Hi Rick, we already have per-ve start/stop scripts: http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf pages 88, 89 thank you, Vasily Averin
creator: vaverin
date: 2007-11-16T06:02:17-00:00

Re: execute HN script after VE starts :: similar to <veid>.mount
type: item
description: Hi, sorry I should have mentioned the script needs to run in the HN context (global start). Thanks for the info, I'll keep digging around.
creator: rickb
date: 2007-11-16T10:31:59-00:00