Multiple hypervisor driver support for nova
Change-Id: I84a7c817dec17175eb1a5cda64ba9e5056c57e50 Implements: blueprint nova-multiple-drivers
This commit is contained in:
parent
2b0a070ee5
commit
35660e0e10
@ -21,7 +21,8 @@ RUN apt-get install -y --no-install-recommends \
|
||||
ceph-common \
|
||||
ironic-common \
|
||||
python-ironicclient \
|
||||
&& apt-get clean
|
||||
&& apt-get clean \
|
||||
&& rm -f /etc/nova/nova-compute.conf
|
||||
|
||||
{% endif %}
|
||||
{% elif install_type == 'source' %}
|
||||
|
@ -23,6 +23,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||
qemu \
|
||||
qemu-block-extra \
|
||||
ebtables \
|
||||
xen-utils \
|
||||
&& apt-get clean \
|
||||
&& mkdir -p /etc/ceph \
|
||||
&& rm /etc/libvirt/qemu/networks/default.xml /etc/libvirt/qemu/networks/autostart/default.xml
|
||||
|
@ -8,6 +8,11 @@ if [[ -c /dev/kvm ]]; then
|
||||
chown root:kvm /dev/kvm
|
||||
fi
|
||||
|
||||
# Mount xenfs for libxl to work
|
||||
if [[ $(lsmod | grep xenfs) ]]; then
|
||||
mount -t xenfs xenfs /proc/xen
|
||||
fi
|
||||
|
||||
if [[ ! -d "/var/log/kolla/nova" ]]; then
|
||||
mkdir -p /var/log/kolla/nova
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user