From 2706061a43f6d3c307dea137696988188fee6498 Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Thu, 20 Aug 2015 12:07:51 +0100 Subject: [PATCH] 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 --- ironic/drivers/modules/boot.ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic/drivers/modules/boot.ipxe b/ironic/drivers/modules/boot.ipxe index 3567dc029b..56cf76fa00 100644 --- a/ironic/drivers/modules/boot.ipxe +++ b/ironic/drivers/modules/boot.ipxe @@ -1,7 +1,7 @@ #!ipxe # 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 echo PXE boot failed. No configuration found for MAC ${mac}