nova compute depends on libvirt, but it was not being installed
in the case of LIBVIRT_TYPE=lxc.
Change-Id: Iedae29e476ad529daa7c7b1be39a58a1c86c3b7c
| ... | ... |
@@ -699,6 +699,7 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then |
| 699 | 699 |
|
| 700 | 700 |
# Virtualization Configuration |
| 701 | 701 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 702 |
+ apt_get install libvirt-bin |
|
| 702 | 703 |
|
| 703 | 704 |
# attempt to load modules: network block device - used to manage qcow images |
| 704 | 705 |
sudo modprobe nbd || true |
| ... | ... |
@@ -707,7 +708,6 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then |
| 707 | 707 |
# kvm, we drop back to the slower emulation mode (qemu). Note: many systems |
| 708 | 708 |
# come with hardware virtualization disabled in BIOS. |
| 709 | 709 |
if [[ "$LIBVIRT_TYPE" == "kvm" ]]; then |
| 710 |
- apt_get install libvirt-bin |
|
| 711 | 710 |
sudo modprobe kvm || true |
| 712 | 711 |
if [ ! -e /dev/kvm ]; then |
| 713 | 712 |
echo "WARNING: Switching to QEMU" |