Permalink
Browse files

Volumes added to cloud instance have deleteOnTermination set to true.

  • Loading branch information...
1 parent 6051a18 commit 54e32dcb4950d8abed45da74bb98beb01de0ebe2 @lstein lstein committed Sep 6, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 bin/gbrowse_grow_cloud_vol.pl
View
@@ -1,5 +1,6 @@
2.51
* Fix pod documentation for gbrowse_grow_cloud_vol.pl
+ * Volumes added to cloud instance have deleteOnTermination set to true.
2.50
* Add gbrowse_import_ucsc_db.pl, which will create a fully functional starter database
@@ -92,6 +92,7 @@ =head1 AUTHOR
print STDERR "Attaching volume.\n";
my $a = $vol->attach($instance=>$ebs_device) or die "Couldn't attach EBS volume to $ebs_device: ",$ec2->error_str;
$ec2->wait_for_attachments($a);
+$a->deleteOnTermination(1);
-e $local_device or die "EBS volume did not appear at $local_device as expected";
print STDERR "Creating lvm physical device.\n";

0 comments on commit 54e32dc

Please sign in to comment.