Commit graph

496 commits

Author SHA1 Message Date
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
dependabot[bot]
83667bd081
Bump cachix/install-nix-action from 17 to 18
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 10:16:45 +00:00
Jörg Thalheim
3d373f7cf4
Merge pull request #23 from nix-community/debian-workaround
kexec: fix authorized_keys on debian
2022-10-13 14:43:09 +02:00
lassulus
a76594ab4d kexec: fix authorized_keys on debian 2022-10-13 12:41:55 +00:00
Jörg Thalheim
02b79ab079
Merge pull request #22 from nix-community/kexec-tarballs
Add remark about swap
2022-09-20 08:42:04 +02:00
Jörg Thalheim
b7d482eb98 download tarball non-silet 2022-09-20 08:36:50 +02:00
Jörg Thalheim
9d50207d69 README: add remark about swap 2022-09-20 08:36:36 +02:00
Jörg Thalheim
88b64cdf0e
Merge pull request #19 from nix-community/kexec
README: fix kexec tarball urls
2022-09-05 09:31:06 +01:00
Jörg Thalheim
503b9e4c3b README: fix kexec tarball urls 2022-09-05 08:30:41 +00:00
Jörg Thalheim
a60b8ba9ff
Merge pull request #18 from nix-community/kexec
README: fix tarball suffix
2022-09-05 09:03:59 +01:00