full_install: create config and log osm folders 07/6207/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 24 May 2018 08:45:53 +0000 (10:45 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 24 May 2018 08:45:53 +0000 (10:45 +0200)
Change-Id: I519df03f4223a01283d85c097622bf6a37335950
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index 10b11b5..3e0172e 100755 (executable)
@@ -581,6 +581,13 @@ EONG
     echo "Finished generation of docker images"
 }
 
+function generate_config_log_folders() {
+    echo "Generating config and log folders"
+    sudo mkdir -p /etc/osm
+    sudo mkdir -p /var/log/osm
+    echo "Finished generation of config and log folders"
+}
+
 function generate_docker_env_files() {
     echo "Generating docker env files"
     OSMLCM_VCA_HOST=`juju show-controller|grep api-endpoints|awk -F\' '{print $2}'|awk -F\: '{print $1}'`