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