summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsmoketest/scripts/cli/test_service_pppoe-server.py3
-rwxr-xr-xsrc/conf_mode/system-option.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_service_pppoe-server.py b/smoketest/scripts/cli/test_service_pppoe-server.py
index f0c71e2de..ed006f16c 100755
--- a/smoketest/scripts/cli/test_service_pppoe-server.py
+++ b/smoketest/scripts/cli/test_service_pppoe-server.py
@@ -22,12 +22,9 @@ from base_accel_ppp_test import BasicAccelPPPTest
from configparser import ConfigParser
from vyos.configsession import ConfigSessionError
from vyos.util import process_named_running
-from vyos.util import cmd
local_if = ['interfaces', 'dummy', 'dum667']
-
ac_name = 'ACN'
-
interface = 'eth0'
class TestServicePPPoEServer(BasicAccelPPPTest.BaseTest):
diff --git a/src/conf_mode/system-option.py b/src/conf_mode/system-option.py
index 447c97a78..910c14474 100755
--- a/src/conf_mode/system-option.py
+++ b/src/conf_mode/system-option.py
@@ -123,7 +123,7 @@ def apply(options):
# Keyboard layout - there will be always the default key inside the dict
# but we check for key existence anyway
if 'keyboard_layout' in options:
- cmd('loadkeys -C /dev/console {keyboard_layout}'.format(**options))
+ cmd('loadkeys {keyboard_layout}'.format(**options))
if __name__ == '__main__':
try: