We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1545c89 commit 36b9e8aCopy full SHA for 36b9e8a
1 file changed
server/src/main/java/com/cloud/hypervisor/HypervisorGuruBase.java
@@ -313,9 +313,9 @@ protected VirtualMachineTO toVirtualMachineTO(VirtualMachineProfile vmProfile) {
313
to.setArch(templateArch.getType());
314
} else {
315
if (vmProfile.getTemplate().getBits() == 32) {
316
- to.setArch("i686");
+ to.setArch(CPU.CPUArch.x86.getType());
317
318
- to.setArch("x86_64");
+ to.setArch(CPU.CPUArch.amd64.getType());
319
}
320
321
0 commit comments