Remove the --autofree option from boot.ipxe

Many distros create and distribute images based on the v1.0.0 code from
iPXE (stable release). This version does not support the --autofree flag
that we use in our boot.ipxe template.

While using --autofree may be a good practice (it frees the image after
chainloading) it's not mandatory and by removing it we will get a much
support for people using the stable version of iPXE and it will continue
to work with the images built from the master.

Closes-Bug: #1486950
Change-Id: Iff936b72aa897c02bd8210cb7687abd255f47e53
This commit is contained in:
Lucas Alvares Gomes 2015-08-20 12:07:51 +01:00
parent cb12fc29d9
commit 2706061a43

View File

@ -1,7 +1,7 @@
#!ipxe #!ipxe
# load the MAC-specific file or fail if it's not found # load the MAC-specific file or fail if it's not found
chain --autofree pxelinux.cfg/${mac:hexhyp} || goto error_no_config chain pxelinux.cfg/${mac:hexhyp} || goto error_no_config
:error_no_config :error_no_config
echo PXE boot failed. No configuration found for MAC ${mac} echo PXE boot failed. No configuration found for MAC ${mac}