This repository was archived by the owner on May 11, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,16 +210,13 @@ renderSystemNetworkTemplates() {
210210 local tmpDnsMasqConf=" template/dnsmasq/dnsmasq.conf"
211211 if [[ ${DYNAMIC_PROFILE} == " false" ]]; then
212212 local tmpPxeMenuFile=$( getTmpPxeMenuLocation)
213- local tmpIpxeMenuFile=$( getTmpIpxeMenuLocation)
214213 else
215214 local tmpPxeMenuFile=" template/pxelinux.cfg/default.dynamic"
216- local tmpIpxeMenuFile=" template/ipxe/menu.ipxe.head"
217215 fi
218216
219217 # Copy template files
220218 copySampleFile ${tmpDnsMasqConf} ${tmpDnsMasqConf} .modified
221219 copySampleFile ${tmpPxeMenuFile} ${tmpPxeMenuFile} .modified
222- copySampleFile ${tmpIpxeMenuFile} ${tmpIpxeMenuFile} .modified
223220
224221 # Replace the template variables with their appropriate values
225222 local dhcpRangeMinimumPlaceholder=(" @@DHCP_MIN@@" " @@ESP_DHCP_MIN@@" " @@RNI_DHCP_MIN@@" " @@EDGEBUILDER_DHCP_MIN@@" )
@@ -238,7 +235,7 @@ renderSystemNetworkTemplates() {
238235 # Note that profile-scoped variables are not accessible here.
239236 # In order to gain access to that scope use the renderTemplate
240237 # functionality
241- local stgFiles=(" ${tmpDnsMasqConf} .modified" " ${tmpPxeMenuFile} .modified" " ${tmpIpxeMenuFile} .modified " )
238+ local stgFiles=(" ${tmpDnsMasqConf} .modified" " ${tmpPxeMenuFile} .modified" " ${WEB_ROOT} /tmp_menu.ipxe " )
242239 for stgFile in ${stgFiles[@]} ; do
243240 for i in {0..2}
244241 do
You can’t perform that action at this time.
0 commit comments