diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-14 07:15:23 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-14 07:54:55 +0100 |
commit | ba483643bd7340960d72dc424e7d57876d99b0cd (patch) | |
tree | 8942872515ce2625b1866e8f08e4b923927b556d /src/conf_mode/interfaces-bridge.py | |
parent | 0d921d0494edc40dd82cf4073300bfe466cc0fdc (diff) | |
download | vyos-1x-ba483643bd7340960d72dc424e7d57876d99b0cd.tar.gz vyos-1x-ba483643bd7340960d72dc424e7d57876d99b0cd.zip |
options: keyboard: T3038: use proper XML <defaultValue> over hardcoded Python value
We should not use hardcoded Python values whenever possible. vyos.xml provides
an abstraction of the XML CLI definitions providing default values from the CLI
specified via the <defaultValue> node.
This increases consistency among all XML/Python wrappers.
Additional small fixes in this commit (besides the bad practice incorporating
unrelated changes into the same commit) contain:
- Keyboard layout shout be explicitly set for /dev/console
- Added missing Debian dependency on console-data
- When looking for a key in a dict, we do not need to specify dict.keys()
Diffstat (limited to 'src/conf_mode/interfaces-bridge.py')
0 files changed, 0 insertions, 0 deletions