summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_console.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-07-01 12:46:06 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-07-01 13:27:07 -0500
commitb4a60249f5c26da1d5d837de9122d7d87948507b (patch)
treedb8230110cf92270c8fa593ed2625bcd0c8c785d /src/conf_mode/system_console.py
parent059dffb03e9cc9e8f411345bdd2a720026760666 (diff)
downloadvyos-1x-b4a60249f5c26da1d5d837de9122d7d87948507b.tar.gz
vyos-1x-b4a60249f5c26da1d5d837de9122d7d87948507b.zip
config: T2667: adapt for refinements to get_config_dict
Diffstat (limited to 'src/conf_mode/system_console.py')
-rwxr-xr-xsrc/conf_mode/system_console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system_console.py b/src/conf_mode/system_console.py
index 034cbee63..6f83335f3 100755
--- a/src/conf_mode/system_console.py
+++ b/src/conf_mode/system_console.py
@@ -31,7 +31,7 @@ def get_config():
base = ['system', 'console']
# retrieve configuration at once
- console = conf.get_config_dict(base)
+ console = conf.get_config_dict(base, get_first_key=True)
# bail out early if no serial console is configured
if 'device' not in console.keys():