'Returns a list of all package templates aka appliances aka images.
@inherits: :class:`NodeDriver.list_images`'

def list_images(self, location=None):

    response = self.connection.request('/rest/hosting/ptemplate/list').parse_body()
    images = []
    for ptemplate in response['packages']:
        images.append(NodeImage(id=ptemplate['uuid'], name=('%s:    %s' % (ptemplate['name'], ptemplate['description'])), driver=self))
    return images
