From: David Garcia Date: Thu, 9 Sep 2021 15:23:42 +0000 (+0200) Subject: Pin LXD version to 4.17 X-Git-Tag: release-v11.0-start~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=956fcb734a4ac30ea7631472ec4495a26823839a;p=osm%2Fdevops.git Pin LXD version to 4.17 Change-Id: Ibcbbffd7be34462e4fb0521458ca739f1d0aa150 Signed-off-by: David Garcia --- diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index 04a56784..2406b6a3 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -15,6 +15,7 @@ # set -eux +LXD_VERSION=4.17 JUJU_VERSION=2.9 JUJU_AGENT_VERSION=2.9.12 K8S_CLOUD_NAME="k8s-cloud" @@ -158,7 +159,7 @@ EOF sudo sysctl --system # 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` cat /usr/share/osm-devops/installers/lxd-preseed.conf | sed 's/^config: {}/config:\n core.https_address: '$LXDENDPOINT':8443/' | sg lxd -c "lxd init --preseed" diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 2ededf21..21bf1ca7 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -290,7 +290,7 @@ function install_lxd() { # 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` @@ -1521,6 +1521,7 @@ function parse_docker_registry_url() { DOCKER_REGISTRY_URL=$(echo "$DOCKER_REGISTRY_URL" | awk '{split($1,a,"@"); print a[2]}') } +LXD_VERSION=4.17 JUJU_VERSION=2.9 JUJU_AGENT_VERSION=2.9.12 UNINSTALL=""