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.sh5
1 files changed, 2 insertions, 3 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 b1aa43749..1751d07c5 100755
--- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
+++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
@@ -94,9 +94,6 @@ function compose(){
cd config
envsubst < vsftpd_ssl-TEMPLATE.conf > vsftpd_ssl.conf
cd -
-
- set_vsftpd_file_owner
-
}
function build_image(){
@@ -109,6 +106,8 @@ function build_image(){
}
function set_vsftpd_file_owner() {
+ # This is to avoid "500 OOPS: cannot open config file"
+ # on vsftpd daemon start
sudo chown root ./config/vsftpd_ssl.conf
}