From 269c7b505501ef24a4839b92afeb4fe15f3ced38 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Wed, 13 May 2020 17:30:12 +0200 Subject: Rename operation 'execCMD' to 'shellrun' This patch also ignores calls to shellrun when virtual mode is activated. --- src/virtual/ogOperations.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/virtual') diff --git a/src/virtual/ogOperations.py b/src/virtual/ogOperations.py index 02f50da..6ff9e0b 100644 --- a/src/virtual/ogOperations.py +++ b/src/virtual/ogOperations.py @@ -217,9 +217,8 @@ class OgVirtualOperations: pass return installed_os - def execCMD(self, request, ogRest): - # TODO Implement. - raise NotImplementedError + def shellrun(self, request, ogRest): + return def session(self, request, ogRest): disk = request.getDisk() -- cgit v1.2.3-18-g5258