diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-05-29 13:29:16 +0200 |
---|---|---|
committer | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-05-29 13:29:16 +0200 |
commit | 3205e0f1e8fde91948b082b3ee0fedfe13b23912 (patch) | |
tree | db58cc39812d0c6bf8cbaf4e671b577aa798b30d | |
parent | b29b2eb452b21c6abc1a203d2688b94482af1aaf (diff) |
Refresh partitions.json after image restore
This is necessary for cloneer-manager to start the guest OS after the next
reboot.
-rw-r--r-- | src/virtual/ogOperations.py | 1 |
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 |