File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -655,6 +655,8 @@ case "$VIRT_DRIVER" in
655655 ;;
656656esac
657657
658+ # By default, devstack will use Ubuntu Cloud Archive.
659+ ENABLE_UBUNTU_CLOUD_ARCHIVE=$( trueorfalse True ENABLE_UBUNTU_CLOUD_ARCHIVE)
658660
659661# Images
660662# ------
Original file line number Diff line number Diff line change 7272# We've found that Libvirt on Xenial is flaky and crashes enough to be
7373# a regular top e-r bug. Opt into Ubuntu Cloud Archive if on Xenial to
7474# get newer Libvirt.
75- if [[ " $DISTRO " = " xenial" ]]; then
75+ # Make it possible to switch this based on an environment variable as
76+ # libvirt 2.5.0 doesn't handle nested virtualization quite well and this
77+ # is required for the trove development environment.
78+ if [[ " ${ENABLE_UBUNTU_CLOUD_ARCHIVE} " == " True" && " $DISTRO " = " xenial" ]]; then
7679 # This pulls in apt-add-repository
7780 install_package " software-properties-common"
7881 # Use UCA for newer libvirt. Should give us libvirt 2.5.0.
You can’t perform that action at this time.
0 commit comments