Merge "Set nova hypervisor to qemu in Vagrant"
This commit is contained in:
commit
1649fa27ed
@ -85,7 +85,7 @@ function configure_kolla {
|
|||||||
# Configure the operator node and install some additional packages.
|
# Configure the operator node and install some additional packages.
|
||||||
function configure_operator {
|
function configure_operator {
|
||||||
yum install -y git mariadb && yum clean all
|
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
|
pip install ~vagrant/kolla
|
||||||
|
|
||||||
@ -128,6 +128,12 @@ export OS_USER_DOMAIN_ID=default
|
|||||||
EOF
|
EOF
|
||||||
chown vagrant: ~vagrant/openrc
|
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.
|
# Launch a local registry (and mirror) to speed up pulling images.
|
||||||
# 0.9.1 is actually the _latest_ tag.
|
# 0.9.1 is actually the _latest_ tag.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user