README: fix kexec tarball urls

This commit is contained in:
Jörg Thalheim 2022-09-05 08:30:41 +00:00
parent 0c98626acd
commit 503b9e4c3b
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ It consists of the [kernel image](https://github.com/nix-community/nixos-images/
Kexec is a mechanism in Linux to load a new kernel from a running Linux to
replace the current kernel. This is useful for booting the Nixos installer from
existing Linux distributions, such as server provider that do not offer a NixOS
option. After running kexec, the NixOS exists only in memory. At the time of
option. After running kexec, the NixOS installer exists only in memory. At the time of
writing, this requires at least 2.5GB of RAM in the system. If not enough RAM
is available, the initrd cannot be loaded. Because the NixOS runs only in RAM,
users can reformat all the system's discs to prepare for a new NixOS
@ -27,7 +27,7 @@ The nixos-kexec-installer tarball is the new preferred method.
It can be booted as follows by running these commands as root:
```
curl -sL https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-x86_64-linux.tar.gz | tar -xJf- -C /root
curl -sL https://github.com/nix-community/nixos-images/releases/download/nixos-unstable/nixos-kexec-installer-x86_64-linux.tar.gz | tar -xzf- -C /root
/root/kexec/run
```

View file

@ -31,7 +31,7 @@ build_kexec_installer() {
# run the test once we have kvm support in github actions
# ignore=$(nix-build ./nix/kexec-installer-test.nix -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" --argstr system "$arch")
out=$(nix-build '<nixpkgs/nixos>' -o "$tmp/kexec-installer-$arch" -I nixos-config=./nix/kexec-installer.nix -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" --argstr system "$arch" -A config.system.build.kexecTarball)
echo "$out/tarball/nixos-kexec-installer-$arch.tar.xz"
echo "$out/nixos-kexec-installer-$arch.tar.gz"
}
main() {