aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2016-02-18 14:29:09 +0900
committerMartin André <m.andre@redhat.com>2016-02-18 14:29:09 +0900
commit076fb5a6469a415c0cb947e616c9ab7e662621f6 (patch)
treebbc53fb0d2b70238fc447ce3127d6da4cbeba8ec /dev/vagrant
parentc32aa11256f6195e4193d2fedda4394f8a32b0be (diff)
downloadkolla-076fb5a6469a415c0cb947e616c9ab7e662621f6.tar.gz
kolla-076fb5a6469a415c0cb947e616c9ab7e662621f6.zip
Set nova hypervisor to qemu in Vagrant
Additionally, install python-neutronclient that is needed for tools/init-runonce. Change-Id: I416afc0299c8e6a8e603eca2334ea3a9836707fe Partial-Bug: #1542933
Diffstat (limited to 'dev/vagrant')
-rw-r--r--dev/vagrant/centos-bootstrap.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev/vagrant/centos-bootstrap.sh b/dev/vagrant/centos-bootstrap.sh
index 83d10c074..2555eb479 100644
--- a/dev/vagrant/centos-bootstrap.sh
+++ b/dev/vagrant/centos-bootstrap.sh
@@ -85,7 +85,7 @@ function configure_kolla {
# Configure the operator node and install some additional packages.
function configure_operator {
yum install -y git mariadb && yum clean all
- pip install --upgrade "ansible<2" python-openstackclient tox
+ pip install --upgrade "ansible<2" python-openstackclient python-neutronclient tox
pip install ~vagrant/kolla
@@ -128,6 +128,12 @@ export OS_USER_DOMAIN_ID=default
EOF
chown vagrant: ~vagrant/openrc
+ mkdir -p /etc/kolla/config/nova/
+ cat > /etc/kolla/config/nova/nova-compute.conf <<EOF
+[libvirt]
+virt_type=qemu
+EOF
+
# Launch a local registry (and mirror) to speed up pulling images.
# 0.9.1 is actually the _latest_ tag.