Make config-nova-compute bashate compliant

Change-Id: I44c15de2fb17eba6ac41f7d170d4e8759ccf779e
Partially-Implements: blueprint bashate-gate
This commit is contained in:
Steven Dake 2015-05-28 09:48:49 -07:00
parent 9242f60dd9
commit 8cfcd6a14b

View File

@ -21,8 +21,7 @@ crudini --set $cfg DEFAULT novncproxy_base_url "http://${NOVA_NOVNC_BASE_ADDRESS
crudini --set $cfg DEFAULT log_file "${NOVA_COMPUTE_LOG_FILE}"
# set qmeu emulation if no hardware acceleration found
if [[ `egrep -c '(vmx|svm)' /proc/cpuinfo` == 0 ]]
then
if [[ `egrep -c '(vmx|svm)' /proc/cpuinfo` == 0 ]]; then
crudini --set $cfg libvirt virt_type qemu
fi