def _root(name='', all_roots=False):
    if _sd_version() >= 219:
        if all_roots:
            return [os.path.join(x, name)
                    for x in ('/var/lib/machines', '/var/lib/container')]
        else:
            return os.path.join('/var/lib/machines', name)
    else:
        ret = os.path.join('/var/lib/container', name)
        if all_roots:
            return [ret]
        else:
            return ret
Wrapper around C{random.randrange}.
dataset/ETHPy150Open saltstack/salt/salt/modules/nspawn.py/_root--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/randbytes.py/RandomFactory._randRange