Clean references to OSM_DOCKER_WORK_DIR in uninstall_osm.sh 91/13491/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 1 Jun 2023 12:22:18 +0000 (14:22 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 1 Jun 2023 16:17:14 +0000 (18:17 +0200)
Change-Id: I3d98359512ccdd240c7deaf57f31d1b6e96dce41
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/uninstall_osm.sh

index eac9b80..1df64b6 100755 (executable)
@@ -70,8 +70,6 @@ EONG
     OSM_NAMESPACE_VOL="${OSM_HOST_VOL}/${OSM_NAMESPACE}"
     remove_volumes $OSM_NAMESPACE_VOL
 
-    echo "Removing $OSM_DOCKER_WORK_DIR"
-    sudo rm -rf $OSM_DOCKER_WORK_DIR
     [ -z "$CONTROLLER_NAME" ] && sg lxd -c "juju kill-controller -t 0 -y $OSM_NAMESPACE"
 
     remove_crontab_job
@@ -153,8 +151,6 @@ DOCKER_NOBUILD=""
 REPOSITORY_KEY="OSM%20ETSI%20Release%20Key.gpg"
 REPOSITORY_BASE="https://osm-download.etsi.org/repository/osm/debian"
 OSM_WORK_DIR="/etc/osm"
-OSM_DOCKER_WORK_DIR="/etc/osm/docker"
-OSM_K8S_WORK_DIR="${OSM_DOCKER_WORK_DIR}/osm_pods"
 OSM_HOST_VOL="/var/lib/osm"
 OSM_NAMESPACE_VOL="${OSM_HOST_VOL}/${OSM_NAMESPACE}"
 OSM_DOCKER_TAG=latest