This is in file etc/netplan/00-installer-config.yaml (enp0s5 is configured with DHCP4, but real NIC is enp0s4...)
##### # This is the network config written by 'subiquity' network: ethernets: enp0s5: dhcp4: true version: 2 #####
This is visible in output from "sudo journalctl":
... Jun 05 02:53:44 t2004 kernel: virtio_net virtio1 enp0s4: renamed from eth0 ... Jun 05 02:53:53 t2004 systemd-resolved[718]: Using system hostname 't2004'. Jun 05 02:53:53 t2004 systemd[1]: Started Network Name Resolution. Jun 05 02:53:53 t2004 systemd[1]: Reached target Network. Jun 05 02:53:53 t2004 systemd[1]: Reached target Host and Network Name Lookups. Jun 05 02:53:54 t2004 cloud-init[727]: Cloud-init v. 20.1-10-g71af48df-0ubuntu5 running 'init' at Fri, 05 Jun 2020 02:53:53 +0000. Up 15.84 seconds. Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | enp0s4 | False | . | . | . | 00:a0:98:4f:5d:d5 | Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | lo | True | ::1/128 | . | host | . | Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +-------+-------------+---------+-----------+-------+ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | Route | Destination | Gateway | Interface | Flags | Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +-------+-------------+---------+-----------+-------+ Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +-------+-------------+---------+-----------+-------+ ...
This is in file etc/netplan/ 00-installer- config. yaml (enp0s5 is configured with DHCP4, but real NIC is enp0s4...)
#####
# This is the network config written by 'subiquity'
network:
ethernets:
enp0s5:
dhcp4: true
version: 2
#####
This is visible in output from "sudo journalctl":
... resolved[ 718]: Using system hostname 't2004'. g71af48df- 0ubuntu5 running 'init' at Fri, 05 Jun 2020 02:53:53 +0000. Up 15.84 seconds. +++++++ +++++++ ++++++Net device info+++ +++++++ +++++++ +++++++ ++++ --+---- ---+--- ------- -+----- ------+ ------- +------ ------- ------+ --+---- ---+--- ------- -+----- ------+ ------- +------ ------- ------+ --+---- ---+--- ------- -+----- ------+ ------- +------ ------- ------+ +++++++ +++++Route IPv6 info+++ +++++++ +++++++ ++ -+----- ------- -+----- ----+-- ------- --+---- ---+ -+----- ------- -+----- ----+-- ------- --+---- ---+ -+----- ------- -+----- ----+-- ------- --+---- ---+
Jun 05 02:53:44 t2004 kernel: virtio_net virtio1 enp0s4: renamed from eth0
...
Jun 05 02:53:53 t2004 systemd-
Jun 05 02:53:53 t2004 systemd[1]: Started Network Name Resolution.
Jun 05 02:53:53 t2004 systemd[1]: Reached target Network.
Jun 05 02:53:53 t2004 systemd[1]: Reached target Host and Network Name Lookups.
Jun 05 02:53:54 t2004 cloud-init[727]: Cloud-init v. 20.1-10-
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +++++++
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +------
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +------
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | enp0s4 | False | . | . | . | 00:a0:98:4f:5d:d5 |
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | lo | True | ::1/128 | . | host | . |
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +------
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +++++++
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +------
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: | Route | Destination | Gateway | Interface | Flags |
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +------
Jun 05 02:53:54 t2004 cloud-init[727]: ci-info: +------
...