summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogRest.py')
-rw-r--r--src/ogRest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index 855179e..0d8ff87 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -264,6 +264,9 @@ class ogRest():
self.operations = OgVirtualOperations()
threading.Thread(target=self.operations.check_vm_state_loop,
args=(self,)).start()
+ elif self.mode == 'linux':
+ from src.linux.ogOperations import OgLinuxOperations
+ self.operations = OgLinuxOperations()
else:
raise ValueError('Mode not supported.')