def __init__(self): self.cid = docker.getid('mender-useradm') # is it an open useradm, or useradm-enterprise? for path in ['/usr/bin/useradm', '/usr/bin/useradm-enterprise']: try: docker.exec(self.cid, [path, '--version']) self.path = path except: continue if self.path is None: raise RuntimeError('no runnable binary found in mender-useradm')
def __init__(self): self.cid = docker.getid('mender-device-auth')
def __init__(self): self.cid = docker.getid('mender-tenantadm')
def __init__(self): self.cid = docker.getid('mender-useradm')