Add env needed by installCerts.py to docker-compose.yml
[sdnc/oam.git] / installation / sdnc / src / main / scripts / startODL.sh
index f6fa43a..4738851 100755 (executable)
@@ -171,7 +171,11 @@ then
 fi
 
 cp /opt/opendaylight/current/certs/* /tmp
+cp -r /opt/app/osaaf/local/. /tmp
 
+# Create ODL data log directory (it nornally is created after karaf
+# is started, but needs to exist before installCerts.py runs)
+mkdir -p /opt/opendaylight/data/log
 nohup python ${SDNC_BIN}/installCerts.py &
 
 exec ${ODL_HOME}/bin/karaf server