mirror of https://github.com/apache/cloudstack.git
kvm: fix regression 5a52ca78ae (#11342)
Somehow the commit 5a52ca78ae was reverted
so cloud-init templates don't work on arm64 anymore :(
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
4d2beea777
commit
2d025bd074
|
|
@ -249,9 +249,7 @@ public class LibvirtVMDef {
|
|||
guestDef.append("<boot dev='" + bo + "'/>\n");
|
||||
}
|
||||
}
|
||||
if (_arch == null || !_arch.equals("aarch64")) {
|
||||
guestDef.append("<smbios mode='sysinfo'/>\n");
|
||||
}
|
||||
guestDef.append("<smbios mode='sysinfo'/>\n");
|
||||
guestDef.append("</os>\n");
|
||||
if (iothreads) {
|
||||
guestDef.append(String.format("<iothreads>%s</iothreads>", NUMBER_OF_IOTHREADS));
|
||||
|
|
|
|||
Loading…
Reference in New Issue