Skip to content

Commit 36b9e8a

Browse files
committed
refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 1545c89 commit 36b9e8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/src/main/java/com/cloud/hypervisor/HypervisorGuruBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ protected VirtualMachineTO toVirtualMachineTO(VirtualMachineProfile vmProfile) {
313313
to.setArch(templateArch.getType());
314314
} else {
315315
if (vmProfile.getTemplate().getBits() == 32) {
316-
to.setArch("i686");
316+
to.setArch(CPU.CPUArch.x86.getType());
317317
} else {
318-
to.setArch("x86_64");
318+
to.setArch(CPU.CPUArch.amd64.getType());
319319
}
320320
}
321321

0 commit comments

Comments
 (0)