mac_address with dash

This commit is contained in:
Muayyad alsadi 2022-06-22 14:24:34 +03:00
parent da5ee723c3
commit 42c0078e6b

View File

@ -741,7 +741,7 @@ def get_net_args(compose, cnt):
net_args = []
mac_address = cnt.get("mac_address", None)
if mac_address:
net_args.extend(["--mac_address", mac_address])
net_args.extend(["--mac-address", mac_address])
net = cnt.get("network_mode", None)
if net:
if net == "host":