echo -e " -K: Specifies the name of the controller to use - The controller must be already bootstrapped"
echo -e " --debug: debug mode"
echo -e " --cachelxdimages: cache local lxd images, create cronjob for that cache (will make installation longer)"
- echo -e " --nojuju: do not juju, assumes already installed"
[ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
}
[ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
}
-function install_juju() {
+function install_juju_client() {
[ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
- echo "Installing juju"
+ echo "Installing juju client"
sudo snap install juju --classic --channel=$JUJU_VERSION/stable
[[ ":$PATH": != *":/snap/bin:"* ]] && PATH="/snap/bin:${PATH}"
[ -n "$INSTALL_CACHELXDIMAGES" ] && update_juju_images
- echo "Finished installation of juju"
+ echo "Finished installation of juju client"
[ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
return 0
}
DEBUG_INSTALL=""
INSTALL_CACHELXDIMAGES=""
INSTALL_NOJUJU=""
-JUJU_AGENT_VERSION=2.9.34
+JUJU_AGENT_VERSION=2.9.43
JUJU_VERSION=2.9
OSM_BEHIND_PROXY=""
OSM_DEVOPS=
-)
[ "${OPTARG}" == "help" ] && usage && exit 0
[ "${OPTARG}" == "debug" ] && DEBUG_INSTALL="--debug" && continue
- [ "${OPTARG}" == "nojuju" ] && INSTALL_NOJUJU="y" && continue
[ "${OPTARG}" == "cachelxdimages" ] && INSTALL_CACHELXDIMAGES="y" && continue
echo -e "Invalid option: '--$OPTARG'\n" >&2
usage && exit 1
echo "OSM_DEVOPS=$OSM_DEVOPS"
echo "HOME=$HOME"
-[ -z "$INSTALL_NOJUJU" ] && install_juju
+[ -z "$INSTALL_NOJUJU" ] && install_juju_client
track juju juju_client_ok
if [ -z "$OSM_VCA_HOST" ]; then