}
protected NodeAndInitialCredentials<VirtualMachine> createNodeWithGroupEncodedIntoName(final String name,
final VirtualApplianceCachingTemplate template) {
AbiquoTemplateOptions options = template.getOptions().as(AbiquoTemplateOptions.class);
Enterprise enterprise = adminService.getCurrentEnterprise();
// Get the region where the template is available
Datacenter datacenter = regionMap.get().get(Integer.valueOf(template.getImage().getLocation().getId()));
// Load the template
VirtualMachineTemplate virtualMachineTemplate = enterprise.getTemplateInRepository(datacenter,
Integer.valueOf(template.getImage().getId()));
Integer overrideCores = options.getOverrideCores();
Integer overrideRam = options.getOverrideRam();