[init] Missing hardware-observe snap plug for hostname autocomplete

Bug #2064092 reported by Yao Wei
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Undecided
Unassigned
ubuntu-desktop-provision
Fix Released
Undecided
Unassigned

Bug Description

I got reported by OEM that during Stage 4 they are not able to have hostname autocompleted by product name.

It turned out that hardware-observe plug is missing from ubuntu-desktop-init, in order to get the following files:

const kDMIProductNameFile = '/sys/devices/virtual/dmi/id/product_name';
const kDMIProductVersionFile = '/sys/devices/virtual/dmi/id/product_version';
const kDMIVendorFile = '/sys/devices/virtual/dmi/id/sys_vendor';

We need to add hardware-observe plug and do store-request again. I hope we can do this plug with network-manager autoconnect together.

Yao Wei (medicalwei)
tags: added: oem-priority originate-from-2064081 somerville
description: updated
Revision history for this message
Dennis Loose (dloose) wrote :

Thanks for spotting this! I erroneously removed it thinking it was only being used for telemetry. Will be fixed here: https://github.com/canonical/ubuntu-desktop-provision/pull/726

Dennis Loose (dloose)
Changed in ubuntu-desktop-provision:
status: New → Fix Committed
Revision history for this message
Yao Wei (medicalwei) wrote :

fix confirmed in ubuntu-desktop-init version 0+git.b6f8cb5f4

Changed in oem-priority:
status: New → Fix Released
Dennis Loose (dloose)
Changed in ubuntu-desktop-provision:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.