aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh')
-rwxr-xr-xtest/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
index 4c5d9f062..6ba707973 100755
--- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
+++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
@@ -74,6 +74,8 @@ function compose(){
export PORTFTPS=$8
export IPFTPS=$9
export IPSFTP=${10}
+ LOCALTIME=$(ls -l /etc/localtime)
+ export TIMEZONE=${LOCALTIME//*zoneinfo\/}
#will insert $I to distinguish containers, networks properly
#docker compose cannot substitute these, as they are keys, not values.