fix sed expression
This commit is contained in:
parent
a4baf92aaa
commit
505a5f7056
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ build_netboot_image() {
|
|||
echo "$tmp/initrd-$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=initrd-${arch}" \
|
||||
-e "s!initrd=initrd!initrd=initrd-${arch}!" \
|
||||
< "$img/netboot.ipxe" \
|
||||
> "$tmp/netboot-$arch.ipxe"
|
||||
echo "$tmp/netboot-$arch.ipxe"
|
||||
|
|
Loading…
Reference in a new issue