This is an automated email from the ASF dual-hosted git repository. rafael pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push: new f5d5242 kvm: Remove libvirt-bin check for Debian (#2909) (#2912) f5d5242 is described below commit f5d52421b9efdd22226b40d56aaad3e90b46f175 Author: Abhishek <abhishek.mr...@gmail.com> AuthorDate: Mon Oct 22 17:48:11 2018 +0530 kvm: Remove libvirt-bin check for Debian (#2909) (#2912) Debian does not have libvirt-bin package. Therefore, only for Ubuntu host distro process name libvirt-bin is used, otherwise libvirtd will be used --- .../resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java index df89d24..2802d42 100644 --- a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java +++ b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java @@ -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");