forked from extern/podman-compose
del hostname
This commit is contained in:
parent
b62b817c66
commit
3759b2ca28
@ -157,6 +157,7 @@ def tr_cntnet(project_name, services, given_containers):
|
|||||||
cnt["depends"]=deps
|
cnt["depends"]=deps
|
||||||
# adjust hosts to point to localhost, TODO: adjust host env
|
# adjust hosts to point to localhost, TODO: adjust host env
|
||||||
adj_hosts(services, cnt, '127.0.0.1')
|
adj_hosts(services, cnt, '127.0.0.1')
|
||||||
|
if "hostname" in cnt: del cnt["hostname"]
|
||||||
containers.append(cnt)
|
containers.append(cnt)
|
||||||
move_port_fw(infra, containers)
|
move_port_fw(infra, containers)
|
||||||
move_extra_hosts(infra, containers)
|
move_extra_hosts(infra, containers)
|
||||||
|
Loading…
Reference in New Issue
Block a user