Merge pull request #306 from CanonicalLtd/mwhudson/pollinate

add subiquity information to pollinate user agent
This commit is contained in:
Michael Hudson-Doyle 2018-04-05 15:10:01 +12:00 committed by GitHub
commit c39d305af6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -114,6 +114,13 @@ class SubiquityModel:
'builtin': 'curtin block-meta custom',
},
'pollinate': {
'user_agent': {
'subiquity-version': os.environ.get("SNAP_VERSION", 'dry-run'),
'subiquity-revision': os.environ.get("SNAP_REVISION", 'dry-run'),
},
},
'reporting': {
'subiquity': {
'type': 'journald',