Pin Juju Version
Pins the agent version of juju to ensure consistent
behaviour.
Change-Id: I7112638fd02bc9ab9e6be5aa18481f93dd955f3a
Signed-off-by: beierlm <mark.beierl@canonical.com>
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index 9d1fca1..6ced1a3 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -427,7 +427,7 @@
if ! juju show-controller $OSM_STACK_NAME &> /dev/null; then
# Not found created, create the controller
sudo usermod -a -G lxd ${USER}
- sg lxd -c "juju bootstrap --bootstrap-series=xenial $OSM_VCA_CLOUDNAME $OSM_STACK_NAME"
+ sg lxd -c "juju bootstrap --bootstrap-series=xenial --agent-version=2.8.1 $OSM_VCA_CLOUDNAME $OSM_STACK_NAME"
fi
[ $(juju controllers | awk "/^${OSM_STACK_NAME}[\*| ]/{print $1}"|wc -l) -eq 1 ] || FATAL "Juju installation failed"
juju controller-config features=[k8s-operators]