fix initrd name
This commit is contained in:
parent
8fba363448
commit
a4baf92aaa
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ build_netboot_image() {
|
||||||
echo "$tmp/initrd-$arch"
|
echo "$tmp/initrd-$arch"
|
||||||
sed -e "s!^kernel bzImage!kernel https://github.com/nix-community/nixos-images/releases/download/${tag}/bzImage-${arch}!" \
|
sed -e "s!^kernel bzImage!kernel https://github.com/nix-community/nixos-images/releases/download/${tag}/bzImage-${arch}!" \
|
||||||
-e "s!^initrd initrd!initrd https://github.com/nix-community/nixos-images/releases/download/${tag}/initrd-${arch}!" \
|
-e "s!^initrd initrd!initrd https://github.com/nix-community/nixos-images/releases/download/${tag}/initrd-${arch}!" \
|
||||||
|
-e "s!initrd=initrd!initrd=initrd-${arch}" \
|
||||||
< "$img/netboot.ipxe" \
|
< "$img/netboot.ipxe" \
|
||||||
> "$tmp/netboot-$arch.ipxe"
|
> "$tmp/netboot-$arch.ipxe"
|
||||||
echo "$tmp/netboot-$arch.ipxe"
|
echo "$tmp/netboot-$arch.ipxe"
|
||||||
|
|
Loading…
Reference in a new issue