'Get automatic OS installation templates
@return list automatic installation templates'

def get_autoinstall_templates(self):

    files = []
    for (root, dirnames, filenames) in os.walk(self.templates_base_dir):
        for filename in filenames:
            rel_root = root[(len(self.templates_base_dir) + 1):]
            if rel_root:
                rel_path = ('%s/%s' % (rel_root, filename))
            else:
                rel_path = filename
            files.append(rel_path)
    files.sort()
    return files
