From 4763cfea2f8280b1b759c31976f6ebd4469faa40 Mon Sep 17 00:00:00 2001 From: Dominik Date: Wed, 27 Nov 2019 12:15:50 +0100 Subject: [PATCH] Add /snap/bin in case it is missing This is a fix to bug 863 https://osm.etsi.org/bugzilla/show_bug.cgi?id=863 Change-Id: Iccbe1de7ca4a36960f450de918fcad67364b7d3d Signed-off-by: Dominik Fleischmann --- installers/full_install_osm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 38e50c62..090b9908 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -192,6 +192,7 @@ function uninstall_lightweight() { fi remove_k8s_namespace $OSM_STACK_NAME else + remove_stack $OSM_STACK_NAME remove_stack osm_elk uninstall_prometheus_nodeexporter @@ -693,6 +694,7 @@ function install_juju() { echo "Installing juju" sudo snap install juju --classic [ -z "$INSTALL_NOLXD" ] && sudo dpkg-reconfigure -p medium lxd + [[ ":$PATH": != *":/snap/bin:"* ]] && PATH="/snap/bin:${PATH}" echo "Finished installation of juju" return 0 } -- 2.25.1