Comment 2 for bug 1933130

Revision history for this message
Gui Maluf Balzana (guimalufb) wrote :

Hi @axino,

I've discussed with @wolsen and @freyes about this request. It was suggested that instead of changing the name of the image we could add a `latest=true` attribute to the most recent image. That way you could get the latest image using glance filter API.

From the command line would be something link

```
openstack image list --property os_version=22.04 --property latest=true

openstack server create --image-property os_version=22.04 --image-property latest=true ...
```

would that cover your use case?