Skip to content

Commit

Permalink
Update gce_forensics_vm.py
Browse files Browse the repository at this point in the history
additional wait before acttaching disk when status is running to make sure boot finished.
  • Loading branch information
sa3eed3ed authored Oct 12, 2023
1 parent 8c7471a commit 39ae787
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dftimewolf/lib/processors/gce_forensics_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ def Process(self) -> None:
self.logger.info('Pausing 10 seconds to allow OS to boot before attaching'
' evidence disks')
time.sleep(10)
# In Running boot might be ongoing, thus the additinal wait
# https://cloud.google.com/compute/docs/instances/instance-life-cycle
time.sleep(20)

for d in disks:
if d.project != self.project.project_id:
Expand Down

0 comments on commit 39ae787

Please sign in to comment.