class AutonomiccsSystemVmDeploymentService implements InitializingBean {

    protected VMTemplateVO getSystemVmTemplate(HostVO host) {
        VMTemplateVO systemVmTemplate = autonomiccsSystemVmTemplateService.findAutonomiccsSystemVmTemplate(host.getHypervisorType());
        if (systemVmTemplate == null) {
            throw new CloudRuntimeException(String.format("Could not find a System VM template for the host hypervisors [%s]", host.getHypervisorType()));
        }
        return systemVmTemplate;
    }

}