Add support for configuring VLAN interfaces in the initrd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
It would be helpful to be able to create VLAN network interfaces in initrd images provided
by Ubuntu, based on kernel command line parameters. (i.e. VLAN=eth0.100, )
Some use cases for this feature addition are MAAS users trying to boot machines
using a specific VLAN interface.
On a specific case we have 2 physical network interfaces, one is plugged into a specific VLAN interface,
Since we can specify the network interface on BIOS, the initial PXE boot occurs, but
then the installation fails when using the fast-path installer because the specific VLAN is not configured on the ram disk.
While we can use the other network interface because is a trunk interface that allows us to use
several VLANs, this is not supported on all the network architectures and some security limitations doesn't allows this method.
Reference Redhat implementation can be found here:
- http://
Reference Suse implementation can be found here:
- https:/
The command line syntax for this could be something like, similar to Redhat implementation
For an example:
Related branches
- Mathieu Trudel-Lapierre (community): Needs Fixing
- git-ubuntu developers: Pending requested
-
Diff: 247 lines (+115/-2)9 files modifieddebian/changelog (+7/-0)
init (+5/-0)
initramfs-tools.7 (+6/-0)
initramfs.conf.5 (+5/-0)
scripts/functions (+36/-2)
tests/test_netinfo.d/vlan/expected-resolv.conf (+3/-0)
tests/test_netinfo.d/vlan/net-example1.1.conf (+22/-0)
tests/test_netinfo.d/vlan/net6-example1.1.conf (+15/-0)
tests/test_netinfo.d/vlan/netplan/example1.1.yaml (+16/-0)
Changed in initramfs-tools (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
tags: | added: cts |
tags: | added: sts |
tags: | added: canonical-bootstack |
Changed in initramfs-tools (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
importance: | Undecided → High |
milestone: | none → ubuntu-19.06 |
Changed in initramfs-tools (Ubuntu): | |
status: | Confirmed → Fix Committed |
Hi,
I can confirm that it is often the case, and that it previously causes me headaches at installing debian/ubuntu distro via pxe on vlan tagged networks . Those where use of native vlan is reserved/ forbiddenand where you must pass many mutualised switches.