diff --git a/docker/nova/nova-libvirt/extend_start.sh b/docker/nova/nova-libvirt/extend_start.sh index fe33b6c636..a0ccf18de9 100644 --- a/docker/nova/nova-libvirt/extend_start.sh +++ b/docker/nova/nova-libvirt/extend_start.sh @@ -4,17 +4,8 @@ # Fix permissions for libvirt # Do not remove unless CentOS has been validated if [[ -c /dev/kvm ]]; then - if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then - chmod 660 /dev/kvm - if [[ "$(uname -m)" == "aarch64" ]]; then - chown root:kvm /dev/kvm - else - chown root:qemu /dev/kvm - fi - else - chmod 666 /dev/kvm - chown root:kvm /dev/kvm - fi + chmod 660 /dev/kvm + chown root:qemu /dev/kvm fi # Mount xenfs for libxl to work