Merge "devstack: Fix libvirtd/libvirt-bin detection"

This commit is contained in:
Zuul 2019-08-19 23:15:39 +00:00 committed by Gerrit Code Review
commit 4321f9c07b

View File

@ -640,7 +640,7 @@ function get_uefi_nvram {
function restart_libvirt { function restart_libvirt {
local libvirt_service_name="libvirtd" local libvirt_service_name="libvirtd"
if is_ubuntu && [ ! -f /etc/init.d/libvirtd ]; then if is_ubuntu && ! type libvirtd; then
libvirt_service_name="libvirt-bin" libvirt_service_name="libvirt-bin"
fi fi
restart_service $libvirt_service_name restart_service $libvirt_service_name