mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-22 07:53:16 +01:00
Ignore files generated by tests
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
This commit is contained in:
parent
45ca1f994f
commit
bdff78dcba
2
.gitignore
vendored
2
.gitignore
vendored
@ -47,6 +47,8 @@ coverage.xml
|
|||||||
*.cover
|
*.cover
|
||||||
.hypothesis/
|
.hypothesis/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
test-compose.yaml
|
||||||
|
test-compose-?.yaml
|
||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
*.mo
|
*.mo
|
||||||
|
@ -901,6 +901,8 @@ def get_net_args(compose, cnt):
|
|||||||
net_options.append(f"ip={ipv4}")
|
net_options.append(f"ip={ipv4}")
|
||||||
if ipv6:
|
if ipv6:
|
||||||
net_options.append(f"ip={ipv6}")
|
net_options.append(f"ip={ipv6}")
|
||||||
|
if mac:
|
||||||
|
net_options.append(f"mac={mac}")
|
||||||
|
|
||||||
if net_options:
|
if net_options:
|
||||||
net_args.extend(["--network", f"{net_name}:" + ",".join(net_options)])
|
net_args.extend(["--network", f"{net_name}:" + ",".join(net_options)])
|
||||||
|
Loading…
Reference in New Issue
Block a user