a-kenji
e8bd5ad24b
clan: add examples and description to most help
...
Add examples and description to most toplevel help outputs.
2024-05-27 14:33:58 +02:00
Jörg Thalheim
64adf17368
drop offline in nix shell
...
Otherwise we become gentoo!
2024-05-27 13:40:11 +02:00
a-kenji
6d7849a03c
clan: fix description of cli tool
2024-05-27 11:51:25 +02:00
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
clan-bot
4daf036a3c
Merge pull request 'clan: facts generate specific service' ( #1446 ) from a-kenji-feat/clan/facts-generate-service-1395 into main
2024-05-26 19:57:17 +00: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
clan-bot
b0d5ef01ca
Merge pull request 'Api: init response envelop' ( #1444 ) from hsjobeki-feat/api-improvements into main
2024-05-26 16:08:02 +00:00
Johannes Kirschbauer
ab656d5655
API: handle functions with multiple arguments
2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
ed171f0264
Api: init response envelop
2024-05-26 15:57:10 +02:00
clan-bot
270f9d54cb
Merge pull request 'clan: fix clan facts list [MACHINE]' ( #1442 ) from a-kenji-fix/clan-facts-list into main
2024-05-26 12:29:37 +00:00
a-kenji
73f486fe13
clan: fix clan facts list [MACHINE]
...
Fix `clan facts list [MACHINE]`.
The get command returned a dictionary of bytestrings.
We now convert them to strings.
2024-05-26 14:26:08 +02:00
Johannes Kirschbauer
522fd1bcaa
api: convert name casing
2024-05-26 13:54:21 +02:00
Johannes Kirschbauer
691ae9fb15
api: improve message serialisation
2024-05-26 13:40:47 +02:00
a-kenji
9bb6ed313f
clan machines list: reduce noise
...
Don't log nix error output by default on `clan machines list`.
Log it, if `--debug` is passed.
Fixes #1115
2024-05-24 12:55:14 +02:00
Johannes Kirschbauer
c1e7e25641
api: fix typing issues
2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
d174fbd445
clan ui: move print into log.debug statements
2024-05-20 19:59:50 +02:00
Johannes Kirschbauer
8687801cee
clan ui: setup typed api method
2024-05-20 19:34:49 +02:00
Qubasa
8762ee4420
Migrated blog to mkdocs
2024-05-16 15:08:24 +02:00
Qubasa
fd41badbc6
Add --no-reboot flag to clan machine install
2024-05-14 15:41:15 +02:00
Qubasa
d574faf253
Heavily improve documentation and flake template
2024-05-14 15:41:15 +02:00
Qubasa
3293ac0c14
fix get_keymap_and_locale
2024-05-14 15:41:15 +02:00
Qubasa
be841cdec2
Removed ssh password login
2024-05-14 15:41:15 +02:00
Qubasa
49e39ec505
Add keymap and language detection
2024-05-14 15:41:15 +02:00
Qubasa
c25f7934ba
clan flash: Copied network-status from nixos-images into installer
2024-05-14 15:41:15 +02:00
Qubasa
4f6d25160f
Add --ssh-pubkey FILE argument
2024-05-14 15:41:15 +02:00
Qubasa
82fa89b57e
Fix template. Improve docu. Add disko as default imported module.
2024-05-10 15:39:46 +02:00
clan-bot
f2a3415e2c
Merge pull request 'clan-cli: add --json and --png flags to machine install' ( #1320 ) from a-kenji-feat/clan-install-json into main
2024-05-07 12:52:21 +00: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
DavHau
43c799c3d0
qga: add argument 'check'
2024-05-02 15:03:22 +02:00
Johannes Kirschbauer
bfe4f2c8f4
add cli docs generator
2024-04-30 19:01:53 +02:00
Johannes Kirschbauer
1051367ca4
add cli docs generator
2024-04-30 18:53:00 +02:00
Jörg Thalheim
b5653c169b
sops: fix setting secret from pipe
2024-04-30 14:04:49 +02:00
Jörg Thalheim
5606101ce8
sops: also log content type on error
2024-04-30 13:56:07 +02:00
a-kenji
f383c6f82d
clan-cli: add CLAN_DIR environment variable
...
Add the `CLAN_DIR` environment variable.
With this the user can specify the location of the clan.
2024-04-30 12:00:47 +02:00
a-kenji
95f93d8800
clan(help): standardise on machine capitalisation
2024-04-26 12:07:09 +02:00
a-kenji
a3f6996d69
clan(help): improve install description
2024-04-26 11:42:18 +02:00
DavHau
cf67de2f69
secrets: ensure all added/deleted files get committed
2024-04-24 17:26:32 +07:00
lassulus
3c02453705
installer: fix qr code again
2024-04-22 21:04:41 +02:00
lassulus
4ae5b24d24
installer: make qrcode compatible with nixos-images
2024-04-22 20:49:35 +02:00
lassulus
9cb23b807c
clan-cli ssh: fix qr code format
2024-04-22 20:21:44 +02:00
lassulus
0a1cc29abf
clan-cli ssh: --json can be file or str
2024-04-22 20:13:17 +02:00
a-kenji
6becce81cb
clan: clan machines install use verbose flag
2024-04-19 16:38:39 +02:00
a-kenji
e81a7415d8
clan: clan ssh fix password login
2024-04-17 21:45:14 +02:00
a-kenji
72811d0828
clan: clan ssh fix for new installer image
2024-04-17 18:20:40 +02:00
a-kenji
498d29cca1
clan-cli: fix clan ssh --json and --png
...
This fixes `clan ssh` with the `--json` and `--png` flags.
It will now correctly use the actual fields that are present in the
generated json.
- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts
Fixes #1177
2024-04-17 10:12:37 +00:00
Jörg Thalheim
dcad0d0d79
include machine name when generating secrets
2024-04-15 22:17:53 +02:00
Jörg Thalheim
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
a-kenji
fff810ed43
clan-cli: fix typos
2024-04-12 17:40:54 +02:00
Jörg Thalheim
b3522b73aa
fix case when secrets are regenerated during update/install
2024-04-12 14:46:51 +02:00
DavHau
fc73301ed9
vms/run.py: refactor use kwargs instead of dataclass for function args
2024-04-09 14:30:46 +07:00