From be79e4d2c5e9acacead38c264d356d4c82234342 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 14 May 2020 07:38:54 -0700 Subject: Leverage internal shell runner in bootstrap mode Use native python modules for file operations Change-Id: I1ca505f9a891c722c2aace118536fa470bf50b35 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski --- test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight') 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 3b229e167..50ef3214d 100755 --- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh +++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh @@ -91,9 +91,9 @@ function compose(){ write_config $URLVES $IPFILESERVER $TYPEFILESERVER $PORTSFTP $PORTFTPS $IPPNFSIM - cd config - envsubst < vsftpd_ssl-TEMPLATE.conf > vsftpd_ssl.conf - cd - + pushd config + envsubst < vsftpd_ssl-TEMPLATE.conf > vsftpd_ssl.conf + popd } function build_image(){ -- cgit 1.2.3-korg