You can change the default behaviour of iPXE by using an embedded script. For example, you could embed the script:

#!ipxe
dhcp
chain http://bootserver/boot.php

This script would cause iPXE to use DHCP to obtain an IP address and then boot from the fixed URLhttp://bootserver/boot.php (ignoring any boot filename provided by DHCP). This can be useful if you are unable to reconfigure your DHCP server to provide an appropriate boot filename.

There are several methods that you can use to embed a script within iPXE.

1)
If you are using an iPXE ROM, then you will still see the initial “Press Ctrl-B to configure iPXE” prompt that appears during the power-on self-tests (POST). If you want to disable this initial prompt, you can do so by editing the file config/general.h to include the line:

#define BANNER_TIMEOUT 0

embed.txt · Last modified: 2013/05/15 20:50 by mcb30

All uses of this content must include an attribution to the iPXE
project and the URL http://ipxe.org