in lib/muchos/config/ec2.py [0:0]
def init_template(self, templates_path):
if self.has_option("ec2", "cluster_template"):
template_id = self.get("ec2", "cluster_template")
template_path = os.path.join(templates_path, template_id)
if os.path.exists(template_path):
self.cluster_template_d = {"id": template_id}
self.load_template_ec2_requests(template_path)
self.load_template_device_map(template_path)
self.validate_template()