rename value
This commit is contained in:
parent
dc56ed44d5
commit
a4700ae755
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user