diff options
author | Nicolas Vollmar <nvo@scaling.ch> | 2024-05-17 08:45:45 +0200 |
---|---|---|
committer | Nicolas Vollmar <nvo@scaling.ch> | 2024-05-17 10:25:18 +0200 |
commit | 240f199cdfadbc12ce713dae74c8db3af44a398c (patch) | |
tree | ac1a95ff5fd8f430713079fe650a4dc9fd58841a | |
parent | 4af8d98e8f4038ed680557e3b96be6b455be84f8 (diff) | |
download | vyos-1x-240f199cdfadbc12ce713dae74c8db3af44a398c.tar.gz vyos-1x-240f199cdfadbc12ce713dae74c8db3af44a398c.zip |
T6358: Remove duplicate host name handling
-rwxr-xr-x | src/conf_mode/container.py | 5 |
1 files changed, 0 insertions, 5 deletions
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() |