mirror of https://github.com/apache/cloudstack.git
Debian does not have libvirt-bin package. Therefore, only for Ubuntu host distro process name libvirt-bin is used, otherwise libvirtd will be used
This commit is contained in:
parent
233f46c94b
commit
f5d52421b9
|
|
@ -38,7 +38,7 @@ public final class LibvirtPostCertificateRenewalCommandWrapper extends CommandWr
|
|||
if (command != null) {
|
||||
final int timeout = 30000;
|
||||
Script script = new Script(true, "service", timeout, s_logger);
|
||||
if ("Ubuntu".equals(serverResource.getHostDistro()) || "Debian".equals(serverResource.getHostDistro())) {
|
||||
if ("Ubuntu".equals(serverResource.getHostDistro())) {
|
||||
script.add("libvirt-bin");
|
||||
} else {
|
||||
script.add("libvirtd");
|
||||
|
|
|
|||
Loading…
Reference in New Issue