summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/remote.py2
-rw-r--r--python/vyos/utils/kernel.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/python/vyos/remote.py b/python/vyos/remote.py
index ef8c23da4..16fe2b2c2 100644
--- a/python/vyos/remote.py
+++ b/python/vyos/remote.py
@@ -37,7 +37,7 @@ from vyos.utils.io import make_incremental_progressbar
from vyos.utils.io import make_progressbar
from vyos.utils.io import print_error
from vyos.utils.misc import begin
-from vyos.utils.process import cm
+from vyos.utils.process import cmd
from vyos.version import get_version
CHUNK_SIZE = 8192
diff --git a/python/vyos/utils/kernel.py b/python/vyos/utils/kernel.py
index d950b8e75..0eb113174 100644
--- a/python/vyos/utils/kernel.py
+++ b/python/vyos/utils/kernel.py
@@ -13,6 +13,8 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library. If not, see <http://www.gnu.org/licenses/>.
+import os
+
def check_kmod(k_mod):
""" Common utility function to load required kernel modules on demand """
from vyos import ConfigError