Change-Id: Ibcbbffd7be34462e4fb0521458ca739f1d0aa150
Signed-off-by: David Garcia <david.garcia@canonical.com>
# set -eux
+LXD_VERSION=4.17
JUJU_VERSION=2.9
JUJU_AGENT_VERSION=2.9.12
K8S_CLOUD_NAME="k8s-cloud"
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"
# 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`
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=""