diff options
author | Nicolas Vollmar <nvo@scaling.ch> | 2024-05-17 08:45:45 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-17 13:36:48 +0000 |
commit | 2324694623026a7a8a2aed6345b669b8996d7801 (patch) | |
tree | 4bd4b57e980c2f57dc1030f4e9c0dcf72d07a3e8 | |
parent | badc6a27571b4af04f80cda4bae6931ed9d8c286 (diff) | |
download | vyos-1x-2324694623026a7a8a2aed6345b669b8996d7801.tar.gz vyos-1x-2324694623026a7a8a2aed6345b669b8996d7801.zip |
T6358: Remove duplicate host name handling
(cherry picked from commit 240f199cdfadbc12ce713dae74c8db3af44a398c)
-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() |