netboot.ipxe: fix-up download urls
This commit is contained in:
parent
2f842f70bd
commit
8fba363448
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@ build_netboot_image() {
|
||||||
echo "$tmp/bzImage-$arch"
|
echo "$tmp/bzImage-$arch"
|
||||||
ln -s "$img/initrd" "$tmp/initrd-$arch"
|
ln -s "$img/initrd" "$tmp/initrd-$arch"
|
||||||
echo "$tmp/initrd-$arch"
|
echo "$tmp/initrd-$arch"
|
||||||
ln -s "$img/netboot.ipxe" "$tmp/netboot-$arch.ipxe"
|
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}!" \
|
||||||
|
< "$img/netboot.ipxe" \
|
||||||
|
> "$tmp/netboot-$arch.ipxe"
|
||||||
echo "$tmp/netboot-$arch.ipxe"
|
echo "$tmp/netboot-$arch.ipxe"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue