def list_isos(cfg, distribution, isos):
    """generate a list with available ISOs"""
    for release in cfg[distribution]['isos']:
        for flavour in cfg[distribution]['iso_flavours']:
            for architecture in cfg[distribution]['architectures']:
                name = '-'.join((distribution, release, architecture, flavour))
                isos.append(name)
    return isos