Merge "devstack: Fix libvirtd/libvirt-bin detection"
This commit is contained in:
commit
4321f9c07b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user