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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1865015
Title:
hostname changed after end-user setup
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1865015/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs