

def list_installed(verbose=False):
    "\n    Return a list of installed images\n\n    verbose : boolean (False)\n        toggle verbose output\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' imgadm.list [verbose=True]\n    "
    ret = {
        
    }
    imgadm = _check_imgadm()
    cmd = '{0} list -j'.format(imgadm)
    res = __salt__['cmd.run_all'](cmd)
    retcode = res['retcode']
    result = {
        
    }
    if (retcode != 0):
        ret['Error'] = _exit_status(retcode)
        return ret
    for image in json.loads(res['stdout']):
        result[image['manifest']['uuid']] = _parse_image_meta(image, verbose)
    return result

dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_imgadm.py list_installed/original