collect-logs should attempt to capture cloud-init version using more than dpkg
Bug #1820609 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Low
|
Unassigned |
Bug Description
dpkg is only present on Debian derivatives; we should attempt to use other package management tools during `cloud-init collect-logs` to improve our chances of getting a useful version number in the collected tarball.
description: | updated |
To post a comment you must log in.
+1. we used dpkg because at one point at least, the "packaged version" meant more than the upstream version. Now in Ubuntu and in rpm packages built from packages/ redhat/ cloud-init. spec.in a simple 'cloud-init --version' will include the package information as well.
That will not be the case with other packaging systems though.