Jörg Thalheim
d7a9c1bc96
switch to initrd.systemd by default
2023-12-08 16:17:58 +01:00
Jörg Thalheim
26c6954db0
move clanName into nixos machine configuration
2023-12-08 15:05:56 +00:00
Jörg Thalheim
3054b9c77d
move clanName into nixos machine configuration
2023-12-08 16:03:29 +01:00
clan-bot
39079f0145
Merge pull request 'add serial module to vms' ( #621 ) from Mic92-main into main
2023-12-08 11:37:50 +00:00
Jörg Thalheim
44108e7dac
add serial module to vms
...
This is useful for debugging in the cli.
2023-12-08 12:35:33 +01:00
lassulus
3d1533892b
backups: implement list/create and dry-run restore
2023-12-07 18:23:22 +01:00
lassulus
0ab11948e7
backups: implement list the easy way
2023-12-07 13:22:41 +01:00
clan-bot
1338282c62
Merge pull request 'backups: add clanCore backup & clan borgbackup module' ( #605 ) from lassulus-backups into main
2023-12-04 16:51:33 +00:00
lassulus
83dd430d03
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00
Jörg Thalheim
59d1829f4d
disallow variable shadowing
2023-11-30 14:31:37 +01:00
Jörg Thalheim
01dbcec6a1
make type checking more strict
2023-11-30 14:31:37 +01:00
Jörg Thalheim
f208bc0f22
add option to extend path for generator
2023-11-30 14:15:40 +01:00
a-kenji
deefddd3c2
clan-core/secrets: escape facts trailing newline
2023-11-29 13:29:20 +01:00
lassulus
c9d10437e5
backups: add clanCore backup & clan borgbackup module
2023-11-23 18:12:49 +01:00
a-kenji
2fc25c61f3
Fix typo
2023-11-16 14:39:15 +01:00
a-kenji
308b345d02
Configure nix inside the machines
...
Add sane nix defaults for debugging and usability reasons
2023-11-16 14:08:50 +01:00
Jörg Thalheim
454d80a233
clanCore: install essential tools for debugging
2023-11-16 13:46:13 +01:00
Jörg Thalheim
0f4151da30
meshnamed: fix container
2023-11-15 11:20:56 +01:00
Jörg Thalheim
e6acf89117
clanCore/networking: allow ping unconditionally
2023-11-15 11:07:03 +01:00
Jörg Thalheim
d6bb782d74
zerotier: also install identity secrets for non-controllers
2023-11-15 11:07:03 +01:00
Jörg Thalheim
80b902a924
move resolved configuration to a dummy interface
2023-11-15 11:07:03 +01:00
Jörg Thalheim
6a35f6b26c
explicitly set networkd as the default
2023-11-15 07:21:26 +01:00
Jörg Thalheim
189451d3d2
integrated meshnamed with systemd-resolved
2023-11-15 07:21:26 +01:00
Jörg Thalheim
2ca9f8cbaf
move clan-imports into clanCore
2023-11-15 07:21:26 +01:00
Jörg Thalheim
74fa1c2614
zerotier: fix eval if meshname is not known yet
2023-11-15 07:21:26 +01:00
Jörg Thalheim
92aa60ff2e
zerotier: also enable meshnamed for non-controllers
2023-11-14 17:45:30 +01:00
Jörg Thalheim
d04e807269
zerotier: write hostname to file
2023-11-14 17:45:30 +01:00
Jörg Thalheim
65e09aebea
enable meshnamed in zerotier module
2023-11-14 14:40:26 +01:00
Jörg Thalheim
ed237ac078
zerotier: add leading zeros at subnet
2023-11-14 14:25:58 +01:00
Jörg Thalheim
087157b4bf
zerotier: compute ipv6 subnets
2023-11-14 14:04:05 +01:00
Jörg Thalheim
763d0fc252
drop zerotier-subnet, we can compute this.
2023-11-14 13:50:44 +01:00
Jörg Thalheim
7fd0f1fbb7
add module for meshnamed
2023-11-14 12:58:15 +01:00
Jörg Thalheim
e436fef13d
allow to persist zerotier identities/ips/meshnames for non-controller
2023-11-10 11:56:54 +01:00
Jörg Thalheim
bb10e703b3
drop bloatware module
2023-11-08 14:47:31 +01:00
lassulus
efafe6f0e3
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
Jörg Thalheim
53b5e989ee
zerotier: enable networkd
2023-10-31 15:35:09 +01:00
Qubasa
8ff80b025c
Fixing a multitude of tests
2023-10-27 19:21:50 +02:00
Qubasa
adffdc14f6
Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test
2023-10-27 19:20:17 +02:00
Jörg Thalheim
f7e9d45ade
improve output of installer iso
...
Now it also includes local addresses.
2023-10-27 17:40:20 +02:00
DavHau
cf0953146d
api/machines: allow importing extra modules
...
- add top-level option `clanImports` to clanCore
- clanImports can be set and checked as any other option
- buildClan resolves the clanImports from the settings.json before calling evalModules to prevent infinite recursions
- new endpoint PUT machines/{name}/schema to allow getting the schema for a specific list of imports
- to retrieve the currently imported modules, cimply do a GET or PU on machines/{name}/config which will return `clanImports` as part of the config
Still missing: get list of available modules
2023-10-25 16:36:30 +01:00
DavHau
bb51a9916b
secrets: fix: don't generate secrets if no secrets are defined
2023-10-06 18:34:49 +02:00
lassulus
599209b7f6
secrets.password-store: mkdir correct fact folder
2023-10-05 20:22:30 +02:00
lassulus
97c1e3fb47
zerotier generate-network: terminate fakeroot for process cleanup
2023-10-05 19:14:10 +02:00
lassulus
130ca378dc
password-store: generate each secret in tmpdir
2023-10-05 19:14:10 +02:00
DavHau
25682cf146
clanCore: specify interface for system.clan
2023-10-05 17:08:59 +02:00
DavHau
9e4c5cadf1
zerotier: fix: find free port without collissions
2023-10-05 17:03:01 +02:00
lassulus
528d0ee45a
secrets upload: skip on exit 23, cleanup
2023-10-04 21:29:19 +02:00
lassulus
9457a0f4b9
vms: support secrets and fix cross compilation
2023-10-04 18:04:27 +02:00
lassulus
dc82712a7b
secrets.password-store: ignore ssh errors
2023-10-04 16:34:37 +02:00
Jörg Thalheim
2ca9e9a16e
restore possibility to update all machines without having to specify them
2023-10-04 08:35:59 +02:00