Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
InstallCerts.py Script Fails to Execute Successfully
[sdnc/oam.git]
/
installation
/
sdnc
/
src
/
main
/
scripts
/
startODL.sh
diff --git
a/installation/sdnc/src/main/scripts/startODL.sh
b/installation/sdnc/src/main/scripts/startODL.sh
index
e043bc0
..
6f9bdad
100755
(executable)
--- a/
installation/sdnc/src/main/scripts/startODL.sh
+++ b/
installation/sdnc/src/main/scripts/startODL.sh
@@
-171,8
+171,11
@@
then
fi
cp /opt/opendaylight/current/certs/* /tmp
fi
cp /opt/opendaylight/current/certs/* /tmp
-cp
-r /opt/app/osaaf/local/.
/tmp
+cp
/var/custom-certs/*
/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
nohup python ${SDNC_BIN}/installCerts.py &
exec ${ODL_HOME}/bin/karaf server