We need to use a VLAN to PXEboot some bare-metal systems. Right now I’m using DHCP+TFTP, but I may switch to HTTPBoot if I can get that working.
The problem is that this LAN requires VLAN tags to work. I can configure the NICs to use a VLAN, but that VLAN is lost as soon as the PXElinux boot image is loaded.
Is there a way to force the VLAN for the Ubuntu installer, or can I pass a VLAN via the Kernel Commandline?
For bonus points, it would be great if I could get the Discovery Image to know about the VLAN so that it can talk to the Foreman Discovery service.
I’ve tried the setting Kernel commandline options, using this vlan
tag, but that’s not working. I’m not even sure if this is the right syntax:
APPEND initrd=boot/ubuntu-mirror-WKCIULkETfqj-initrd.gz interface=auto url=https://foreman.example.org/unattended/provision ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=host1.example.org console-setup/ask_detect=false console-setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us localechooser/translation/warn-light=true localechooser/translation/warn-severe=true locale=en_US ksdevice=bootif vlan=999
Any ideas?