Commit b6cf68ca authored by Kirk Webb's avatar Kirk Webb
Browse files

Change where the TMCCVNODEID environment variable gets setup.  Since
vnodesetup is the highest common execution point in the chain (for either
initial vserver startup, or subsequent reboot), this is the place to put it.
The previous stages don't need it, but just putting it in rc.vinit excludes
it from getting set during initial setup and boot.
parent c641b15f
......@@ -161,6 +161,9 @@ libsetup_setvnodeid($vnodeid);
# Tell tmcc library too, although thats already been done with previous call.
configtmcc("subnode", $vnodeid);
# Pass this along for tmcc clients.
$ENV{'TMCCVNODEID'} = $vnodeid;
#
# Hacky. All this path stuff is hacky.
#
......
......@@ -30,10 +30,6 @@ else
exit 1;
fi
# Pass this along for tmcc clients.
TMCCVNODEID=$VNODEID
export TMCCVNODEID
# See how we were called.
case "$1" in
start)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment