Skip to content

Commit

Permalink
By default drop ssds when stopping instance
Browse files Browse the repository at this point in the history
  • Loading branch information
smarlowucf committed Sep 25, 2024
1 parent 19d1032 commit 1159dc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion img_proof/ipa_gce.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,8 @@ def _stop_instance(self):
self.compute_driver.instances().stop(
project=self.service_account_project,
zone=self.region,
instance=self.running_instance_id
instance=self.running_instance_id,
discardLocalSsd=True
).execute()

# In GCE an instance that is stopped has a state of TERMINATED:
Expand Down

0 comments on commit 1159dc2

Please sign in to comment.