Commit graph

10 commits

Author SHA1 Message Date
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
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
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
Gary Guo
7d89d7c99f
Copy ecdsa/sk keys from /root/.ssh/authorized_keys 2023-11-08 16:13:10 +00: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
3db198a018 kexec-installer: print dmesg if kexec --load fails
In some cases dmesg contains interesting errors
2023-05-15 13:32:59 +02:00
Jean-François Roche
b2256e68d3 feat: speed up kexec boot
Do not check if the new kernel is correctly copied in memory.

On ARM64 (Hetzner CAX21, CAX41) it improves boot from 4 minutes to a few seconds.

Option introduced in kexec-tools here: 0481e9ed61
More on this https://eastrivervillage.com/kexec-tools-with-the-hidden-purgatory/
2023-05-08 10:30:28 +02:00
Jörg Thalheim
11c7f7b900 run shellcheck on kexec-run 2023-05-07 13:41:22 +02:00