Fix devstack default settings in aarch64
1. Lack qemu-efi in ubuntu 2. Lack edk2.git-aarch64 in Fedora/Centos 3. Remove NOVNC disable. Change-Id: Ifbd0c386df6b28bc64cef20cab8e08f99a85c782 Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
This commit is contained in:
parent
53c2f6fe23
commit
551848dd69
@ -59,6 +59,9 @@ function install_libvirt {
|
||||
|
||||
if is_ubuntu; then
|
||||
install_package qemu-system libvirt-clients libvirt-daemon-system libvirt-dev
|
||||
if is_arch "aarch64"; then
|
||||
install_package qemu-efi
|
||||
fi
|
||||
# uninstall in case the libvirt version changed
|
||||
pip_uninstall libvirt-python
|
||||
pip_install_gr libvirt-python
|
||||
@ -78,6 +81,10 @@ function install_libvirt {
|
||||
install_package qemu-kvm
|
||||
|
||||
install_package libvirt libvirt-devel
|
||||
if is_arch "aarch64"; then
|
||||
install_package edk2.git-aarch64
|
||||
fi
|
||||
|
||||
pip_uninstall libvirt-python
|
||||
pip_install_gr libvirt-python
|
||||
fi
|
||||
|
@ -52,8 +52,6 @@ function configure_nova_hypervisor {
|
||||
|
||||
# arm64-specific configuration
|
||||
if is_arch "aarch64"; then
|
||||
# arm64 architecture currently does not support graphical consoles.
|
||||
iniset $NOVA_CONF vnc enabled "false"
|
||||
iniset $NOVA_CONF libvirt cpu_mode "host-passthrough"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user