[Bug 1865015] [NEW] hostname changed after end-user setup
Martijn Loinkje
1865015 at bugs.launchpad.net
Thu Feb 27 13:09:12 UTC 2020
Public bug reported:
After installing Ubuntu 18.04.1 LTS as OEM and changed the hostname using the setup everything looks fine.
When I'm done configuring, I select "prepare for shipping to end user" and reboot the machine. The new user fills in their info BUT it shows an options to fill in the "Device name/Computer name/hostname" which I want to be static because they are based on their system serial number.
Info/Devicename:
{serial code}
hostname:
{serial code}
cat /etc/hostname
{serial code}
cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 {serial code}
Reboot + end-user-config
cat /etc/hostname
{username}-{device model}
A machine should have a static default hostname independent of the user.
If a user wants to change it, they can do it by hostnamectl.
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
** Tags: hostname oem ubuntu
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1865015
Title:
hostname changed after end-user setup
Status in ubiquity package in Ubuntu:
New
Bug description:
After installing Ubuntu 18.04.1 LTS as OEM and changed the hostname using the setup everything looks fine.
When I'm done configuring, I select "prepare for shipping to end user" and reboot the machine. The new user fills in their info BUT it shows an options to fill in the "Device name/Computer name/hostname" which I want to be static because they are based on their system serial number.
Info/Devicename:
{serial code}
hostname:
{serial code}
cat /etc/hostname
{serial code}
cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 {serial code}
Reboot + end-user-config
cat /etc/hostname
{username}-{device model}
A machine should have a static default hostname independent of the
user. If a user wants to change it, they can do it by hostnamectl.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1865015/+subscriptions
More information about the foundations-bugs
mailing list