mirror of https://github.com/apache/cloudstack.git
kvm: fix ide controller for rocky/alma vms (#8247)
This commit is contained in:
parent
4c91cc7c6f
commit
db6dd52f44
|
|
@ -3979,7 +3979,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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue