Allow redstack to force kvm in devstack

Force kvm is useful if you have an environment where you can use kvm as
the virtualization for nested instances.

Change-Id: I89ac30243e3c47cbd36b0a0890242a2a8031bea4
This commit is contained in:
Craig Vyvial 2016-01-21 17:00:13 -06:00
parent b5e7c20bd8
commit 00697701f8
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
[[local|localrc]]
# force kvm as the libvirt type.
LIBVIRT_TYPE=kvm

View File

@ -1097,7 +1097,7 @@ function cmd_dsvm_gate_tests() {
NETWORK_GATEWAY=${5:-'10.1.0.1'}
ESCAPED_PATH_TROVE=${6:-'\/opt\/stack\/new\/trove'}
if [[ $BRANCH_OVERRIDE == "stable/liberty" || $BRANCH_OVERRIDE == "stable/liberty" ]]; then
if [[ $BRANCH_OVERRIDE == "stable/liberty" ]]; then
# Devstack in liberty doesn't copy the clouds.yaml file to /etc so we need to
# ensure we have access to the clouds.yaml file set up by devstack-gate
sudo mkdir -p ~/.config/openstack

View File

@ -23,6 +23,7 @@ LIBS_FROM_GIT_ALL_OSLO=$(get_bool LIBS_FROM_GIT_ALL_OSLO false)
# Don't include certain .rc files in local.conf.d by default
USING_VAGRANT=$(get_bool USING_VAGRANT false)
USE_KVM=$(get_bool USE_KVM false)
USE_UUID_TOKEN=$(get_bool USE_UUID_TOKEN false)
# Specify configuration for Ceilometer