Skip to content

Commit f5d5242

Browse files
shwstppryadvr
authored andcommitted
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
1 parent 233f46c commit f5d5242

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public Answer execute(final PostCertificateRenewalCommand command, final Libvirt
3838
if (command != null) {
3939
final int timeout = 30000;
4040
Script script = new Script(true, "service", timeout, s_logger);
41-
if ("Ubuntu".equals(serverResource.getHostDistro()) || "Debian".equals(serverResource.getHostDistro())) {
41+
if ("Ubuntu".equals(serverResource.getHostDistro())) {
4242
script.add("libvirt-bin");
4343
} else {
4444
script.add("libvirtd");

0 commit comments

Comments
 (0)