Pin LXD version to 4.17
Change-Id: Ibcbbffd7be34462e4fb0521458ca739f1d0aa150
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index cba4fda..5ceb649 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -290,7 +290,7 @@
# Install LXD snap
sudo apt-get remove --purge -y liblxc1 lxc-common lxcfs lxd lxd-client
- sudo snap install lxd
+ sudo snap install lxd --channel $LXD_VERSION/stable
# Configure LXD
sudo usermod -a -G lxd `whoami`
@@ -444,7 +444,7 @@
function install_juju() {
echo "Installing juju"
- sudo snap install juju --classic --channel=2.8/stable
+ sudo snap install juju --classic --channel=$JUJU_VERSION/stable
[[ ":$PATH": != *":/snap/bin:"* ]] && PATH="/snap/bin:${PATH}"
[ -n "$INSTALL_NOCACHELXDIMAGES" ] || update_juju_images
echo "Finished installation of juju"
@@ -1527,6 +1527,8 @@
DOCKER_REGISTRY_URL=$(echo "$DOCKER_REGISTRY_URL" | awk '{split($1,a,"@"); print a[2]}')
}
+LXD_VERSION=4.17
+JUJU_VERSION=2.8
JUJU_AGENT_VERSION=2.8.6
UNINSTALL=""
DEVELOP=""