From 2324694623026a7a8a2aed6345b669b8996d7801 Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Fri, 17 May 2024 08:45:45 +0200 Subject: T6358: Remove duplicate host name handling (cherry picked from commit 240f199cdfadbc12ce713dae74c8db3af44a398c) --- src/conf_mode/container.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/conf_mode/container.py') diff --git a/src/conf_mode/container.py b/src/conf_mode/container.py index a73a18ffa..c3b661ac5 100755 --- a/src/conf_mode/container.py +++ b/src/conf_mode/container.py @@ -339,11 +339,6 @@ def generate_run_arguments(name, container_config): entrypoint = json_write(container_config['entrypoint'].split()).replace('"', """) entrypoint = f'--entrypoint '{entrypoint}'' - hostname = '' - if 'host_name' in container_config: - hostname = container_config['host_name'] - hostname = f'--hostname {hostname}' - command = '' if 'command' in container_config: command = container_config['command'].strip() -- cgit v1.2.3