Github user serg38 commented on the issue:
https://github.com/apache/cloudstack/pull/1773
@priyankparihar Well. API use cases can be recoded but not UI. Presently we
can delete templates in UI even with active VMs. With your changes there will
be no recourse. An easy option will be to add a checkbox 'Forced' into
Delete template confirmation dialog. I am -1 until UI supports deletion of
templates with active VMs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---