Skip to content
Snippets Groups Projects
Commit a209e443 authored by caoyuan's avatar caoyuan
Browse files

Add cpu_mode in vagrant/bootstrap.sh

With libvirt 2.0, when using qemu cpu mode is not properly
evaluated and need to be set to cpu_mode = none.

Add this option when kvm is not supported, otherwise user
will still facing errors when launching instances over qemu.

Change-Id: I7aa6df356085263d25c6afcc812f035d3ded942b
parent c086b2c4
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,8 @@ EOF ...@@ -205,7 +205,8 @@ EOF
mkdir -p /etc/kolla/config/nova/ mkdir -p /etc/kolla/config/nova/
cat > /etc/kolla/config/nova/nova-compute.conf <<EOF cat > /etc/kolla/config/nova/nova-compute.conf <<EOF
[libvirt] [libvirt]
virt_type=qemu virt_type = qemu
cpu_mode = none
EOF EOF
# Launch a local registry (and mirror) to speed up pulling images. # Launch a local registry (and mirror) to speed up pulling images.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment