summaryrefslogtreecommitdiffstats
path: root/vio/docker/instance-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vio/docker/instance-config.sh')
-rwxr-xr-xvio/docker/instance-config.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/vio/docker/instance-config.sh b/vio/docker/instance-config.sh
index 5623109..3952a03 100755
--- a/vio/docker/instance-config.sh
+++ b/vio/docker/instance-config.sh
@@ -39,4 +39,10 @@ sed -i "s|DB_PORT.*|DB_PORT = $MYSQL_PORT|" vio/vio/pub/config/config.py
cat vio/vio/pub/config/config.py
sed -i "s/sip=.*/sip=$SERVICE_IP/g" vio/run.sh
-sed -i "s/sip=.*/sip=$SERVICE_IP/g" vio/stop.sh \ No newline at end of file
+sed -i "s/sip=.*/sip=$SERVICE_IP/g" vio/stop.sh
+
+# Create log directory
+logDir="/var/log/onap/multicloud/vio"
+if [ ! -x $logDir ]; then
+ mkdir -p $logDir
+fi