Jörg Thalheim
2251e8485c
nix/kexec-installer/test.nix: comment why we wait 6s
2024-05-19 19:28:59 +02:00
David
b9eec5585a
fix: cleanup after rebase
2024-05-19 19:25:23 +02:00
David
a8032e0428
fix: docstrings
2024-05-19 19:22:48 +02:00
David
eeb2377839
refactor: adapt to cherry pick
2024-05-19 18:00:43 +02:00
David
6275988bab
chore: make util-linux modifications more concise
2024-05-19 18:00:43 +02:00
David
51f092ea6e
chore: iterate systemd slim
2024-05-19 18:00:43 +02:00
David
a087c0d135
remove some extra weight
2024-05-19 18:00:42 +02:00
David
f274f19bbc
feat: free caches and log free mem before kexec
2024-05-19 18:00:06 +02:00
David
deff4302a7
chore: anticipate expected delay in tests
2024-05-19 18:00:06 +02:00
David
2881477e1b
refactor: bash+jq instead of python closure
2024-05-19 18:00:02 +02:00
Jörg Thalheim
8c9cab8c44
also disable man page to save a few mb
2024-05-19 15:22:03 +00:00
Jörg Thalheim
2c54ebe7b8
Reduce memory requirements to 1GB
2024-05-19 14:43:29 +00:00
Jörg Thalheim
c647a22429
remove uneeded traceVal
2024-05-19 16:30:55 +02:00
Jörg Thalheim
5c77e174db
use newer nano.enable option
2024-05-19 14:28:51 +00:00
Jörg Thalheim
d6cfce2feb
remove grub and syslinux from NixOS
2024-05-19 14:28:51 +00:00
Jörg Thalheim
966d756930
include perlless profile in NixOS
...
conditionally include perlless module
relax perlless constraint
2024-05-19 14:28:51 +00:00
Jörg Thalheim
f35cc93d09
rewrite activation script with a systemd-initrd compatible version
2024-05-19 14:28:51 +00:00
Jörg Thalheim
635d1badf2
image-installer: expose network-status as a program
2024-05-07 09:34:47 +00:00
Jörg Thalheim
f23d47cef8
image-installer: make json a bit shorter
2024-04-17 12:23:50 +02:00
Jörg Thalheim
8d35d4a180
add image-installer
...
add image-installer
2024-04-17 11:56:46 +02:00
Jörg Thalheim
2137ed4108
delete empty file
2024-04-16 12:23:54 +02:00
Shea Levy
c090b94b08
kexec-run: Get pubkeys for DOAS_USER.
...
doas is a smaller replacement for sudo, used by some
distributions (such as Alpine).
2024-02-28 19:11:52 +00:00
Antonio Yang
17efe22de1
add rsync to installer
2024-01-16 07:35:44 +00:00
Mic92
a337c75e33
non-interactive: add missing udev rules ( #163 )
...
non-interactive: add missing udev rules
* Update nix/zfs-minimal.nix
Co-authored-by: Gary Guo <gary@garyguo.net>
2024-01-03 09:54:53 +00:00
Jörg Thalheim
56b5279131
fix kexec-syscall-auto check
2023-12-24 07:07:56 +00:00
Jörg Thalheim
eaf2d21fa9
disable kexec-syscall-auto flag on old kernels
2023-12-23 17:18:52 +00:00
Jörg Thalheim
db63ed890f
upgrade zfs on aarch64
2023-12-23 02:20:46 +01:00
Jörg Thalheim
73c9e5e338
disable installer channel in a single place
2023-12-10 11:57:48 +01:00
phaer
1109a26efb
build 23.11, don't build 23.05 anymore
2023-12-09 16:39:12 +00:00
Jörg Thalheim
bebc30e7fd
also copy machine-id into installer
...
This can help with keeping the same dhcp leases when the dhcp server uses DUID rather than mac addresses
2023-11-22 10:45:18 +01:00
Jörg Thalheim
971b6849d5
add nix-settings from srvos
...
if used as a recovery system, it's useful to have flakes etc enabled.
2023-11-19 13:23:43 +01:00
Jörg Thalheim
c0a2c19f83
add comment for lvm raid
2023-11-12 12:34:58 +01:00
zimbatm
a8fbf192c7
load dm-raid kernel module
...
Fixes https://github.com/nix-community/nixos-anywhere/issues/249
2023-11-12 11:43:01 +01:00
Gary Guo
7d89d7c99f
Copy ecdsa/sk keys from /root/.ssh/authorized_keys
2023-11-08 16:13:10 +00:00
Jörg Thalheim
1afdae78b7
reduce test in VM to 1.2 GB RAM
2023-11-02 13:01:36 +01:00
Jörg Thalheim
fba4a2bf0d
apply nixpkgs-fmt
2023-11-02 10:43:57 +01:00
Jörg Thalheim
75d7180dc1
netboot-installer: also enable ipv6 router advertisment
2023-11-02 10:43:21 +01:00
Jörg Thalheim
8239d6079a
no longer depend on dhcpcd for dhcp networking
2023-11-02 10:43:08 +01:00
Jörg Thalheim
d84d1b296b
installer: useNetworkd consistently
2023-10-28 16:11:35 +02:00
Felix Buehler
e62ab61f81
fix some typos
2023-10-16 23:22:54 +02:00
Jörg Thalheim
f11fd49c78
kexec-installer: re-enable kexec-syscall-auto
...
Seems like GCP changed something about their boot process and the same instance types that failed to kexec, now just works.
This fixes secureboot as well: https://github.com/nix-community/nixos-images/issues/128
2023-08-26 19:36:51 +02:00
Jörg Thalheim
e73cbf20a3
add missing gptfdisk
...
This is needed by disko for gpt
2023-07-04 18:07:03 +02:00
Jörg Thalheim
a7f73290d5
nixos noninteractive: re-add missing filesystems
2023-06-11 07:31:34 +02:00
dantefromhell
eafead23ae
Add zfs packages
...
ZFS related binaries like `zpool`, `zfs` and `zdb` were missing from the kexec image.
This PR fixes the following issues I encountered during testing in the OVH "Public Cloud":
- Machines pre-installed with Debian 11 print error `zdb: command not found` during `disk-deactivate` when trying to remove `/dev/sda14`
- Trying to create a simple zpool + zfs dataset that is mounted as `/` fails with `zpool: command not found`
On OVH machines the installer would print an error being unable to locate the `zdb` binary,
2023-05-22 00:01:53 +00:00
Jörg Thalheim
25f782b4ce
add netboot-installer-nixos-unstable
2023-05-15 15:40:39 +02:00
Jörg Thalheim
9089946fc0
move out code from kexec-installer into its own module
2023-05-15 14:56:00 +02:00
Jörg Thalheim
d7311ed7f8
add missing parted package back to 22.11 release
2023-05-15 13:32:59 +02:00
Jörg Thalheim
8451894552
kexec-installer: add smoketest for binaries
2023-05-15 13:32:59 +02:00
Jörg Thalheim
4ad9c55cf2
kexec-installer: use latest kernel compatible with zfs
2023-05-15 13:32:59 +02:00
Jörg Thalheim
3db198a018
kexec-installer: print dmesg if kexec --load fails
...
In some cases dmesg contains interesting errors
2023-05-15 13:32:59 +02:00