On Mon, Jan 04, 2016 at 09:35:04AM -0700, Darren S. wrote:
> I have a router on the end of a 802.1q trunk port that I'd like to
> netboot for install, but this is only possible if I can PXE boot using
> the correct VLAN to reach the PXE server. Some PXE boot ROMs support
> this (mine does not currently) and I was going to try it from a booted
> bsd.rd on the host, but looks like I only have options for physical
> interfaces to select from on an Autoinstall:
> 
> Welcome to the OpenBSD/amd64 5.8 installation program.
> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? a
> Available network interfaces are: re0 re1 re2 athn0.
> Which network interface should be used for the initial DHCP request?
> (or 'done') [re0]
> DHCPDISCOVER on re0 - interval 3
> DHCPDISCOVER on re0 - interval 5
> DHCPDISCOVER on re0 - interval 13
> DHCPDISCOVER on re0 - interval 19
> DHCPDISCOVER on re0 - interval 13
> DHCPDISCOVER on re0 - interval 8
> No acceptable DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> Could not determine next-server.
> Could not determine auto mode.
> Response file location?
> 
> With additional work I may be able to switch around network
> configurations to support a native VLAN (and then reconfigure
> post-install) but this isn't ideal. Is it feasible for the autoinstall
> support to handle the same VLAN features for booting as is available
> later in the installation for network configuration?
> 
>   Which network interface do you wish to configure = vlan0
>   Which interface:tag should vlan0 be on = re0:100
>   IPv4 address for vlan0 = 10.0.1.1
>   Netmask for vlan0 = 255.255.255.0
> 
> -- 
> Darren Spruell
> phatbuck...@gmail.com

You can put the response file into the bsd.rd as /auto_upgrade.conf or
/auto_install.conf. This way you can avoid the fetching of the response file.

https://marc.info/?l=openbsd-misc&m=141552533922277&w=2

Reply via email to