Merge "Make ipxe boot script templatable"

This commit is contained in:
Zuul 2017-12-15 11:01:27 +00:00 committed by Gerrit Code Review
commit 47fb1998d5
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ chain ipxe.pxe
# load the MAC-specific file or fail if it's not found
:boot_system
chain pxelinux.cfg/${mac:hexhyp} || goto inspector_ipa
chain {{ ipxe_for_mac_uri }}${mac:hexhyp} || goto inspector_ipa
:inspector_ipa
chain pxelinux.cfg/default || goto error_no_config
chain {{ ipxe_for_mac_uri }}default || goto error_no_config
:error_no_config
echo PXE boot failed. No configuration found for MAC ${mac}