[manage.py] getUid(): Add support for containers running as host user
This commit is contained in:
parent
0cc391455b
commit
6dc707bb2d
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,11 @@ def getImageId (image):
|
|||
|
||||
|
||||
def getUid(service):
|
||||
return env['users'][service] + env['uid_shift']
|
||||
if service in env['users'].keys():
|
||||
user = env['users'][service]
|
||||
else:
|
||||
user = 0
|
||||
return user + env['uid_shift']
|
||||
|
||||
|
||||
def pullProj(project):
|
||||
|
|
Loading…
Reference in a new issue