diff options
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-x | lavalab-gen.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py index e1945c4..55020d4 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -562,7 +562,10 @@ def main(): if "use_tftp" in worker: use_tftp = worker["use_tftp"] if use_tftp: - dockcomp["services"][name]["ports"].append("69:69/udp") + if "dispatcher_ip" in worker: + dockcomp["services"][name]["ports"].append(worker["dispatcher_ip"] + ":69:69/udp") + else: + dockcomp["services"][name]["ports"].append("69:69/udp") use_docker = False if "use_docker" in worker: use_docker = worker["use_docker"] |