Subiquity doesnt honor ip= kernel cmdline when configuring the network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
When booting from the live ISO installer, one can opt to edit the kernel cmdline so as to provide the network configuration to be used during an automated install (instead of relying on the user-data configuration).
Back in debian-installer, you could use something like this in the boot line to pass the configuration:
hostname=<hostname> domain=<domain> interface=<NIC> netcfg/
netcfg/
In subiquity, theoretically we should be able to use the ip= kernel option for this purpose, however this option is ignored and it still tries to use dhcp.
In the example below, I used the following cmdline to boot the live installer:
initrd=
However, we still used DHCP to configure the NIC:
Sep 1 20:35:13 ubuntu-server systemd-
Sep 1 20:35:13 ubuntu-server systemd-
I've used the latest 22.04 server ISO in this test:
https:/
If possible could you attach the contents of /etc/netplan, /run/systemd/ network and /run/net-*.cfg ?