forked from extern/podman-compose
mac_address with dash
This commit is contained in:
parent
da5ee723c3
commit
42c0078e6b
@ -741,7 +741,7 @@ def get_net_args(compose, cnt):
|
|||||||
net_args = []
|
net_args = []
|
||||||
mac_address = cnt.get("mac_address", None)
|
mac_address = cnt.get("mac_address", None)
|
||||||
if mac_address:
|
if mac_address:
|
||||||
net_args.extend(["--mac_address", mac_address])
|
net_args.extend(["--mac-address", mac_address])
|
||||||
net = cnt.get("network_mode", None)
|
net = cnt.get("network_mode", None)
|
||||||
if net:
|
if net:
|
||||||
if net == "host":
|
if net == "host":
|
||||||
|
Loading…
Reference in New Issue
Block a user