Comment 0 for bug 1853912

Revision history for this message
Steve Langasek (vorlon) wrote : /etc/pollinate/add-user-agent should be populated in the (server live env) to allow better identification of live clients

Pollinate provides various bits of information in the user agent to allow gathering of statistics about Ubuntu clients. Unfortunately, the 'subiquity' tag is only added (via curtin->cloud-init) to the user agent tag in the *target* system; the live environment, which also runs pollinate for entropy gathering, does not have any such tag. This makes it impossible to distinguish booted live server images from other "generic" clients in the data.

It would be valuable to have a tag identifying the live server image for statistical and debugging purposes.

I would suggest using 'live/<serial>' as a tag, where <serial> is the image build serial from /mnt/.disk/info.

This probably needs to be done by casper reading the file and synthesizing the content on the live overlay.