diff --git a/server/src/main/java/com/cloud/template/TemplateManagerImpl.java b/server/src/main/java/com/cloud/template/TemplateManagerImpl.java index f441229a4bf..1a360c88edb 100755 --- a/server/src/main/java/com/cloud/template/TemplateManagerImpl.java +++ b/server/src/main/java/com/cloud/template/TemplateManagerImpl.java @@ -522,9 +522,7 @@ public class TemplateManagerImpl extends ManagerBase implements TemplateManager, throw new InvalidParameterValueException("Unable to find " + desc + " with id " + templateId); } - if (template.getTemplateType() == Storage.TemplateType.SYSTEM) { - throw new InvalidParameterValueException("Unable to extract the " + desc + " " + template.getName() + " as it is a default System template"); - } else if (template.getTemplateType() == Storage.TemplateType.PERHOST) { + if (template.getTemplateType() == Storage.TemplateType.PERHOST) { throw new InvalidParameterValueException("Unable to extract the " + desc + " " + template.getName() + " as it resides on host and not on SSVM"); }