digital_ocean: make sure 'images' includes non-global images

The `dopy` library function all_images includes a 'global' filter
by default.  This was preventing private images from showing up
in --images.

The problem also made this script fail immediately for people
who had droplets previously created with private images.
pull/3415/head
Evan Wies 12 years ago
parent 3f6bc3f664
commit 9b1a57f1f3

@ -300,7 +300,7 @@ or environment variables (DO_CLIENT_ID and DO_API_KEY)'''
self.data = {}
self.data['droplets'] = self.sanitize_list( manager.all_active_droplets() )
self.data['regions'] = self.sanitize_list( manager.all_regions() )
self.data['images'] = self.sanitize_list( manager.all_images() )
self.data['images'] = self.sanitize_list( manager.all_images(filter=None) )
self.data['sizes'] = self.sanitize_list( manager.sizes() )
self.data['ssh_keys'] = self.sanitize_list( manager.all_ssh_keys() )
self.data['domains'] = self.sanitize_list( manager.all_domains() )

Loading…
Cancel
Save