systemvm-temp-registration: correctly update existing template name in config

When existing template is found for the required version then update the
router hypervisor template config correctly.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2026-02-25 11:48:31 +05:30
parent 30e6c224bd
commit d748e4bb64
No known key found for this signature in database
GPG Key ID: 26DF259080DABDC4
1 changed files with 1 additions and 1 deletions

View File

@ -1073,7 +1073,7 @@ public class SystemVmTemplateRegistration {
}
Hypervisor.HypervisorType hypervisorType = templateDetails.getHypervisorType();
updateSystemVMEntries(templateId, hypervisorType);
updateConfigurationParams(hypervisorType, templateDetails.getName(), zoneId);
updateConfigurationParams(hypervisorType, templateVO.getName(), zoneId);
}
protected void updateTemplateUrlChecksumAndGuestOsId(VMTemplateVO templateVO,