Merge release branch 4.18 to main

* 4.18:
  kvm: fix ide controller for rocky/alma vms (#8247)
This commit is contained in:
Daan Hoogland 2023-12-06 16:06:09 +01:00
commit 14376ce298
1 changed files with 2 additions and 1 deletions

View File

@ -4112,7 +4112,8 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
return DiskDef.DiskBus.SCSI;
} else if (platformEmulator.contains("Ubuntu") ||
StringUtils.startsWithAny(platformEmulator,
"Fedora", "CentOS", "Red Hat Enterprise Linux", "Debian GNU/Linux", "FreeBSD", "Oracle", "Other PV")) {
"Fedora", "CentOS", "Red Hat Enterprise Linux", "Debian GNU/Linux", "FreeBSD", "Oracle",
"Rocky Linux", "AlmaLinux", "Other PV")) {
return DiskDef.DiskBus.VIRTIO;
} else if (isUefiEnabled && StringUtils.startsWithAny(platformEmulator, "Windows", "Other")) {
return DiskDef.DiskBus.SATA;