From 3205e0f1e8fde91948b082b3ee0fedfe13b23912 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Fri, 29 May 2020 13:29:16 +0200 Subject: Refresh partitions.json after image restore This is necessary for cloneer-manager to start the guest OS after the next reboot. --- src/virtual/ogOperations.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3-18-g5258