live desktop system booted with ip=dhcp has the right lease, hostname not set at all
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
netplan.io (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Here the cmdline:
vmlinuz initrd=initrd rootfstype=nfs netboot=nfs nfsroot=
File /run/systemd/
# This is private data. Do not parse.
ADDRESS=
NETMASK=
ROUTER=162.38.80.1
SERVER_
NEXT_SERVER=
T1=7200
T2=12600
LIFETIME=14400
DNS=162.38.151.23 162.38.151.24
NTP=193.51.157.3
DOMAINNAME=
DOMAIN_
HOSTNAME=focal-uefi
CLIENTID=
But the hostname is still the default one "ubuntu"
$ hostnamectl
Static hostname: ubuntu
Icon name: computer-vm
Chassis: vm
Machine ID: cbb8d889829d4e2
Boot ID: c93c8cc26fa040f
Virtualization: kvm
Operating System: Ubuntu 20.04.2 LTS
Kernel: Linux 5.8.0-43-generic
Architecture: x86-64
It should be "focal-uefi".
I had the same issue with ubuntu server autoinstall
See https:/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: systemd 245.4-4ubuntu3.4
ProcVersionSign
Uname: Linux 5.8.0-43-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperVersion: 1.445.1
Date: Tue Mar 23 15:30:42 2021
LiveMediaBuild: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Lsusb:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Lsusb-t:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: vmlinuz initrd=initrd rootfstype=nfs netboot=nfs nfsroot=
SourcePackage: systemd
SystemdDelta:
[EXTENDED] /usr/lib/
[EXTENDED] /usr/lib/
2 overridden configuration files found.
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/06/2015
dmi.bios.release: 0.0
dmi.bios.vendor: EFI Development Kit II / OVMF
dmi.bios.version: 0.0.0
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnEFIDevel
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.
dmi.sys.vendor: QEMU
Also note https:/ /bugs.launchpad .net/subiquity/ +bug/1905932