summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Vollmar <nvo@scaling.ch>2024-05-17 08:45:45 +0200
committerNicolas Vollmar <nvo@scaling.ch>2024-05-17 10:25:18 +0200
commit240f199cdfadbc12ce713dae74c8db3af44a398c (patch)
treeac1a95ff5fd8f430713079fe650a4dc9fd58841a /src
parent4af8d98e8f4038ed680557e3b96be6b455be84f8 (diff)
downloadvyos-1x-240f199cdfadbc12ce713dae74c8db3af44a398c.tar.gz
vyos-1x-240f199cdfadbc12ce713dae74c8db3af44a398c.zip
T6358: Remove duplicate host name handling
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/container.py5
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('"', "&quot;")
entrypoint = f'--entrypoint &apos;{entrypoint}&apos;'
- 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()