Open ubuntu-server-builder opened 1 year ago
Launchpad user Scott Moser(smoser) wrote on 2019-03-18T13:59:35.567003+00:00
+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.
This bug was originally filed in Launchpad as LP: #1820609
Launchpad details
Launchpad user Dan Watkins(oddbloke) wrote on 2019-03-18T13:42:10.489808+00:00
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.