Commit graph

305 commits

Author SHA1 Message Date
Jörg Thalheim
0c631c8212
Merge pull request #39 from nix-community/ci
add images also to flake
2022-12-16 14:03:02 +00:00
Jörg Thalheim
a28cf85a1a mark networking as experimental for 22.11 2022-12-16 15:02:37 +01:00
Jörg Thalheim
c81bcbc1a8 kexec-installer-test: fix eval on 22.11 2022-12-16 13:45:54 +01:00
Jörg Thalheim
3c28f1145f add images also to flake 2022-12-16 13:44:26 +01:00
Jörg Thalheim
ad3f70c71a
Merge pull request #38 from nix-community/ci
drop building master again
2022-12-16 12:30:30 +00:00
Jörg Thalheim
b26eee8fcb drop building master again 2022-12-16 13:29:50 +01:00
Jörg Thalheim
5578356623
Merge pull request #37 from nix-community/ci
expose kexec installer as a nixosModule
2022-12-16 11:51:39 +00:00
Jörg Thalheim
69489a242c expose kexec installer as a nixosModule 2022-12-14 17:32:53 +01:00
Jörg Thalheim
c3f13148ee
Merge pull request #36 from nix-community/fix/duplicate-kexec
Fix duplicate assets related to kexec-bundle
2022-12-13 12:26:57 +00:00
Jean-François Roche
ed505c325b
Fix duplicate assets related to kexec-bundle
New release of `nixos-generate` seem to output the path of the generated kexec bundle in the nix
store. Push only the path of the kexec bundle given by the outlink location.
2022-12-13 13:22:37 +01:00
Jörg Thalheim
640feef247
Merge pull request #35 from jfroche/fix/command-substitution
Handle errors with pipe instead of process substitution
2022-12-13 09:52:33 +00:00
Jean-François Roche
5ba328cfe8
Handle errors with pipe instead of process substitution 2022-12-13 10:42:30 +01:00
Jörg Thalheim
1332d9af38
Merge pull request #33 from jfroche/fix/fail-on-missing-asset
Stop if one of the build fails
2022-12-12 20:43:02 +00:00
Jörg Thalheim
4089613d92
Merge pull request #34 from jfroche/feat/build-master
feat/build master
2022-12-12 20:42:45 +00:00
Jean-François Roche
8814ec0324
Do not cancel other nixpkgs release builds if one of them is failing 2022-12-12 11:43:55 +01:00
Jean-François Roche
dd031227ab
Build from nixpkgs master branch
`nixos-unstable` is broken, build from master as well.
2022-12-12 11:39:44 +01:00
Jean-François Roche
9900fd121e
Stop if one of the build fails
Using process substitution doesn't handle errors.
Check that we have the expected build assets before we continue.
2022-12-12 11:26:35 +01:00
Jörg Thalheim
36056317a6
Merge pull request #32 from nix-community/ci2
static iproute2
2022-12-01 16:47:37 +01:00
Jörg Thalheim
cb3e66cb92 build images for 22.11 2022-12-01 15:46:20 +00:00
Jörg Thalheim
fa24694578 add static iproute binary
This adds 500KB to the tarball but fixes hosts where iproute2 is old
2022-12-01 15:43:39 +00:00
Jörg Thalheim
f603bff7ff kexec: use kexec-syscall-auto
apparantly faster on aarch64-linux: https://github.com/NixOS/nixpkgs/pull/203415
2022-12-01 14:10:18 +01:00
Jörg Thalheim
0092c8af6c kexec: update documentation 2022-11-27 20:11:19 +01:00
Jörg Thalheim
eb802f5652
Merge pull request #29 from nix-community/static_ips
kexec: restore static ips after kexec
2022-11-27 20:05:22 +01:00
Jörg Thalheim
7d065a82c0 Merge remote-tracking branch 'origin/main' into static_ips 2022-11-27 19:03:02 +00:00
Jörg Thalheim
2be59edf63 kexec-installer: fix static ip tests 2022-11-27 19:01:22 +00:00
Jörg Thalheim
7f2ba67850 node1: print network configuration on start 2022-11-27 16:55:25 +00:00
Jörg Thalheim
b70c9d2fe9 kexec-installer: only one file for addresses is needed 2022-11-27 16:55:14 +00:00
Jörg Thalheim
be9c564503 kexec-installer: networking test 2022-11-27 17:45:21 +01:00
Jörg Thalheim
915d558cd5 kexec-installer: avoid copying initrd
instead we append the extra data.
2022-11-27 17:32:40 +01:00
Jörg Thalheim
a39ed8aa59 kexec-installer/test: also apply minimal profile to node1 2022-11-27 17:25:24 +01:00
Jörg Thalheim
025b15866f kexec-installer: fix start conditions for restore-network unit 2022-11-27 17:24:12 +01:00
Jörg Thalheim
c0fb626fd2 move kexec installer to subdirectory 2022-11-27 17:13:33 +01:00
Jörg Thalheim
98638b3f38 kexec-installer: generate networkd units instead of iproute
This should be more robust when interfaces appear late.
It also makes ipv6 support easier to implement.
2022-11-27 17:06:18 +01:00
lassulus
94384afdb6 kexec-installer: fixes for restoreNetwork 2022-11-25 11:37:50 +00:00
Jörg Thalheim
f545a4b82e README: mention authorized_keys2 2022-11-25 10:43:14 +01:00
Jörg Thalheim
dbdd253ae2
Merge pull request #30 from nix-community/ssh-keys
kexec-installer: also support authorized_keys2
2022-11-25 10:15:07 +01:00
Jörg Thalheim
483c55c0ab kexec-installer: also support authorized_keys2 2022-11-25 10:14:19 +01:00
Jörg Thalheim
3928958de5 kexec-installer: no need to put restoreNetwork into systemPackages 2022-11-25 10:08:39 +01:00
Jörg Thalheim
91abdb7e6e kexec-installer: make iproute2 optional 2022-11-25 09:58:23 +01:00
Jörg Thalheim
ddaae7671a kexec-installer: check ip command exit codes 2022-11-25 09:50:54 +01:00
Jörg Thalheim
efb8452b0f check number of arguments 2022-11-25 09:50:03 +01:00
lassulus
985547acc6 kexec: restore static ips after kexec 2022-11-24 17:30:37 +00:00
lassulus
65227bf951 hope: fix ssh/authorized_keys not copying sometimes? 2022-11-23 17:11:58 +01:00
Jörg Thalheim
1bafb82cd0
Merge pull request #28 from nix-community/ci
be more explicit about modes
2022-11-10 17:13:34 +01:00
Jörg Thalheim
a6b13228b5 fixup permissions when installing keys 2022-11-10 17:10:52 +01:00
Lassulus
f83ec524bb
Merge pull request #27 from nix-community/ssh_permissions 2022-11-10 15:23:15 +01:00
lassulus
34a12f0afb initrd: use install to fix ssh key permissions 2022-11-10 14:54:41 +01:00
Jörg Thalheim
9b65700d0c
Merge pull request #25 from nix-community/is_kexec
add /etc/is_kexec for scripting
2022-11-10 13:52:49 +01:00
lassulus
209edb3996 add /etc/is_kexec for scripting 2022-11-10 12:02:05 +01:00
Jörg Thalheim
c57f6cd26d
Merge pull request #24 from nix-community/dependabot/github_actions/cachix/install-nix-action-18
Bump cachix/install-nix-action from 17 to 18
2022-10-17 13:02:04 +02:00