Skip to content

Commit c400253

Browse files
committed
Ignore hvm field in template
1 parent b406d1e commit c400253

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

server/src/com/cloud/vm/UserVmManagerImpl.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,14 +2508,6 @@ public boolean finalizeVirtualMachineProfile(VirtualMachineProfile<UserVmVO> pro
25082508
VolumeTO iso = new VolumeTO(profile.getId(), Volume.Type.ISO, StoragePoolType.ISO, null, template.getName(), null, null, 0, null);
25092509
iso.setDeviceId(3);
25102510
profile.addDisk(iso);
2511-
2512-
if (template != null) {
2513-
if (template.isRequiresHvm()) {
2514-
profile.setBootLoaderType(BootloaderType.HVM);
2515-
} else {
2516-
profile.setBootLoaderType(BootloaderType.PyGrub);
2517-
}
2518-
}
25192511
}
25202512

25212513
return true;

0 commit comments

Comments
 (0)