From: Dominik Date: Wed, 27 Nov 2019 11:15:50 +0000 (+0100) Subject: Add /snap/bin in case it is missing X-Git-Tag: v7.0.0rc1~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=4763cfea2f8280b1b759c31976f6ebd4469faa40;p=osm%2Fdevops.git 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 --- 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 }