Merge pull request #19 from nix-community/kexec
README: fix kexec tarball urls
This commit is contained in:
commit
88b64cdf0e
2 changed files with 3 additions and 3 deletions
|
@ -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
|
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
|
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
|
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
|
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,
|
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
|
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:
|
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
|
/root/kexec/run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ build_kexec_installer() {
|
||||||
# run the test once we have kvm support in github actions
|
# 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")
|
# 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)
|
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() {
|
main() {
|
||||||
|
|
Loading…
Reference in a new issue