mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-24 12:01:59 +01:00
Use the right base path for vm updates.
Change-Id: I98276b26b85e48ae4b65e8f3fb65540b24665f9a BUG=Will file TEST=Ran it Review URL: http://codereview.chromium.org/4185008
This commit is contained in:
parent
0e84847681
commit
9b76b421e4
@ -252,6 +252,8 @@ class VirtualAUTest(unittest.TestCase, AUTest):
|
||||
def UpdateImage(self, image_path, stateful_change='old'):
|
||||
"""Updates VM image with image_path."""
|
||||
stateful_change_flag = self.GetStatefulChangeFlag(stateful_change)
|
||||
if self.source_image == base_image_path:
|
||||
self.source_image = self.vm_image_path
|
||||
|
||||
RunCommand(['%s/cros_run_vm_update' % self.crosutilsbin,
|
||||
'--update_image_path=%s' % image_path,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user