##// END OF EJS Templates
automation: only iterate over our AMIs...
Gregory Szorc -
r42461:730edbd8 default
parent child Browse files
Show More
@@ -490,7 +490,7 b" def remove_resources(c, prefix='hg-'):"
490 490
491 491 terminate_ec2_instances(ec2resource, prefix=prefix)
492 492
493 for image in ec2resource.images.all():
493 for image in ec2resource.images.filter(Owners=['self']):
494 494 if image.name.startswith(prefix):
495 495 remove_ami(ec2resource, image)
496 496
General Comments 0
You need to be logged in to leave comments. Login now