better check for kvm support
This commit is contained in:
parent
a074800ca8
commit
79799796f7
1 changed files with 1 additions and 1 deletions
2
stack.sh
2
stack.sh
|
@ -291,7 +291,7 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then
|
|||
# qcow images) and kvm (hardware based virtualization). If unable to
|
||||
# load kvm, set the libvirt type to qemu.
|
||||
sudo modprobe nbd || true
|
||||
if ! sudo modprobe kvm; then
|
||||
if ! -e /dev/kvm; then
|
||||
LIBVIRT_TYPE=qemu
|
||||
fi
|
||||
# User needs to be member of libvirtd group for nova-compute to use libvirt.
|
||||
|
|
Loading…
Reference in a new issue