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));
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user