commit | 79799796f7489605ba9935091a116d150abf1709 | [log] [tgz] |
---|---|---|
author | Anthony Young <sleepsonthefloor@gmail.com> | Mon Sep 19 13:51:00 2011 -0700 |
committer | Anthony Young <sleepsonthefloor@gmail.com> | Mon Sep 19 13:51:00 2011 -0700 |
tree | db3ecd64baacb252befe1de2c6242fbbe409cb8b | |
parent | a074800ca85425a9e60832caeceb5ca3d4fd2ce4 [diff] [blame] |
better check for kvm support
diff --git a/stack.sh b/stack.sh index 0ddf4db..5e1a3cc 100755 --- a/stack.sh +++ b/stack.sh
@@ -291,7 +291,7 @@ # 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.