OpenVZ Forum


Home » Mailing lists » Users » vztcl runscript and keep the same env variables?
vztcl runscript and keep the same env variables? [message #43567] Sun, 25 September 2011 11:40 Go to previous message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
Hi,

In a simple bash script named "test.sh", I used to call another shell
script "part1.sh" keeping the same Env variables like this:

$head -n 1 test.sh
. ./part1.sh

Now, I would like to do the same with vzctl runscript:

$head -n 1 test.sh
vzctl runscript 1110 part1.sh

How do I do that?

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
 
Read Message
Read Message
Read Message
Previous Topic: Run truecrypt in a container?
Next Topic: /var/lock/subsys directory missing on openvz debian squeeze
Goto Forum:
  


Current Time: Mon Jul 28 15:06:04 GMT 2025

Total time taken to generate the page: 0.79678 seconds