mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user