I need to install Ubuntu 18.04 onto some bare metal nodes. I'm using the normal Preseed + Debian Installer process.
We use VLANs and I cannot figure out how to configure the installation image to use this VLAN for the installer.
Here's how the process works:
- Configure the hardware NIC to use the VLAN tag (This is easy) via a firmware menu.
- The host gets a DHCP IP and is sent to the TFTP server.
- The TFTP server sends the installation image files to the host. The host receives it
- The host then loads the Ubuntu installation image.
- The installation proceeds
Steps 1-3 show that the host, network & VLAN are working.
At step #4, the installation image loads a new network configuration. However, it isn't adding a VLAN tag. It tries to get a DHCP address, but since it's not using a VLAN, the DHCP server never sees the request.
How can I pass on the VLAN tag to the installer? Is there a Kernel commandline that can be used with Ubuntu, as can be done with Fedora?
I'm very familiar with Kickstart on CentOS, but I'm fairly new to Preseed.
Ubuntu fixed this issue in Ubuntu 19.06, but I'm using 18.04.
What I did was:
Configure the system manually
Configure the NIC manually
Run the following command to figure out what options preseed/debian-installer used for
netcfg
. Many options are not documented.Append
netcfg/...
options to my Kernel command-line, as this example shows: