summaryrefslogtreecommitdiffstats
path: root/src/virtual/ogOperations.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-29 13:29:16 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-29 13:29:16 +0200
commit3205e0f1e8fde91948b082b3ee0fedfe13b23912 (patch)
treedb58cc39812d0c6bf8cbaf4e671b577aa798b30d /src/virtual/ogOperations.py
parentb29b2eb452b21c6abc1a203d2688b94482af1aaf (diff)
Refresh partitions.json after image restore
This is necessary for cloneer-manager to start the guest OS after the next reboot.
Diffstat (limited to 'src/virtual/ogOperations.py')
-rw-r--r--src/virtual/ogOperations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/virtual/ogOperations.py b/src/virtual/ogOperations.py
index 9deb2e7..5e5ee44 100644
--- a/src/virtual/ogOperations.py
+++ b/src/virtual/ogOperations.py
@@ -446,6 +446,7 @@ class OgVirtualOperations:
return None
subprocess.run([f'umount {self.OG_IMAGES_PATH}'], shell=True)
+ self.refresh(ogRest)
return True