a-kenji
81e0700826
clan: facts generate allow regeneration of facts
...
Add `--regenerate` flag to `clan facts generate` which allows forcing
the generation of facts, regardless of their current existence.
Examples:
```
clan facts generate [MACHINE] --regenerate
```
or
```
clan facts generate [MACHINE] --service [SERVICE] --regenerate
```
2024-05-26 22:55:48 +02:00
a-kenji
4faab0a20f
clan: facts generate specific service
...
Add `--service` flag to the `clan` cli which allows specifying a certain
service to be generated.
Example:
```
clan facts generate [MACHINE] --service [SERVICE]
```
Fixes #1395
2024-05-26 21:52:56 +02:00
Qubasa
fd41badbc6
Add --no-reboot flag to clan machine install
2024-05-14 15:41:15 +02:00
a-kenji
2e821c4525
clan-cli: add --json and --png flags to machine install
...
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.
Fixes #1180
2024-05-07 14:47:13 +02:00
a-kenji
6becce81cb
clan: clan machines install use verbose flag
2024-04-19 16:38:39 +02:00
Jörg Thalheim
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
Jörg Thalheim
8b4dbc60b5
clan/install: drop -t flag from nixos-anywhere
2024-04-02 13:50:24 +02:00
lassulus
f16667e25a
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Jörg Thalheim
5ff36a2cd8
nixos-install: also respect port
2024-03-17 22:18:22 +01:00
Jörg Thalheim
9f25f47298
allow to debug nixos-anywhere
2024-03-17 21:36:22 +01:00
Jörg Thalheim
dd0ad2683b
drop secret store logging from install command
2024-03-17 21:32:23 +01:00
Jörg Thalheim
ab2defa9e4
add confirmation prompt when installing
2024-03-07 14:13:11 +01:00
Jörg Thalheim
2315dba2a9
rename machine.host to machine.target_host
2024-02-06 17:21:42 +01:00
Jörg Thalheim
6e57122da8
rename target_host to target_host_address
2024-02-06 17:21:42 +01:00
Jörg Thalheim
301a6b6a23
machines/update: get flake_attr from machine class
2024-02-06 17:21:42 +01:00
Jörg Thalheim
3538cf2e46
rename deployment address to target address
...
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
lassulus
abaa218e27
clan-cli install: use new Machine interface, fix mypy error
2024-01-24 15:49:24 +01:00
lassulus
6b004fca6f
machines.Machine: refactor flake_dir -> flake; use Machine class in vm
2024-01-24 15:49:12 +01:00
lassulus
aee0ee4d5e
move secret stores into clan_cli codebase
2024-01-24 15:49:12 +01:00
Qubasa
ba05589af2
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
Jörg Thalheim
ed643e3829
cli/install: add option to specify alternative kexec url
2023-12-26 14:36:51 +01:00
Jörg Thalheim
1496f45fe2
prefix nixpkgs# explicitly in nix_shell
...
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
Jörg Thalheim
977bbbbd59
install: fix secrets upload
2023-11-29 11:38:01 +01:00
lassulus
1ea13646ea
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
lassulus
7b3d3e20b4
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
Qubasa
a28f910e35
nix fmt
2023-10-27 19:26:03 +02:00
Qubasa
32e60f5adc
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
2023-10-27 19:15:40 +02:00
Qubasa
fdcd7ad1d9
Updated to main
2023-10-27 19:15:11 +02:00
Jörg Thalheim
c82a4df9f9
machines/install: call correct upload function
2023-10-14 15:56:04 +02:00
lassulus
b25af9f0f4
clan_cli: refactor secrets code into Machine class
2023-10-04 16:41:16 +02:00
lassulus
ffb7c63640
clan-cli: add machines install
2023-10-04 16:34:37 +02:00