rename value

This commit is contained in:
Richard Mauer 2024-12-27 21:03:04 -05:00
parent dc56ed44d5
commit a4700ae755

View File

@ -8,7 +8,7 @@ let
cmdlineinitrds = builtins.concatStringsSep " " (builtins.map (name: "initrd=${name}") (builtins.attrNames initrds));
in
runCommand "netboot" {
autoexec-ipxe = ''
autoexecipxe = ''
#!ipxe
dhcp
set path netboot
@ -16,7 +16,7 @@ runCommand "netboot" {
set next_server 172.16.1.6
chain http://''${next_server}/''${path}/netboot.ipxe
'';
netboot-ipxe = ''
netbootipxe = ''
#!ipxe
## Variables
set server 172.16.1.6
@ -76,8 +76,8 @@ runCommand "netboot" {
)
)}
set +x
echo "$autoexec-ipxe" > autoexec.ipxe
echo "$netboot-ipxe" > netboot.ipxe
echo "$autoexecipxe" > autoexec.ipxe
echo "$netbootipxe" > netboot.ipxe
cd ..
mv stage $out