Jörg Thalheim
8f98f0e8b7
also use qcow2 for volatile state
2024-02-13 11:45:42 +01:00
Jörg Thalheim
3bf94ab0fc
use virtio-console instead of serial for vm
2024-02-13 11:45:42 +01:00
Jörg Thalheim
11ac50c17b
format rootfs in vm itself
2024-02-13 11:45:42 +01:00
Jörg Thalheim
07caab537f
drop unused mounts
2024-02-13 11:45:42 +01:00
Jörg Thalheim
7f8ba25a5b
qemu: disable sea-bios and option rom
2024-02-13 11:45:42 +01:00
Jörg Thalheim
ef202a8150
switch to sops-nix experimental branch
2024-02-13 11:45:23 +01:00
Jörg Thalheim
d6b3e03d70
vms: integrate virtiofsd
2024-02-13 11:44:17 +01:00
Qubasa
7d301b7e3c
update flake lock
2024-02-12 14:52:01 +07:00
Qubasa
0ce8bcd018
clan_vm_manager: Added VM shutdown timeout
2024-02-12 14:16:44 +07:00
lassulus
eebd9d0b4a
allow passing of extra_config into machines
2024-02-11 08:40:41 +01:00
DavHau
02dd132e08
vms: init graceful shutdown for GUI
...
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI
the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
Johannes Kirschbauer
030cbd24ce
Clan VM Manager: detect if clan exists
2024-02-07 16:08:48 +07:00
lassulus
b780754621
clan-cli: add simple flash command
2024-02-07 05:26:01 +01:00
Jörg Thalheim
6fe6229498
add requireExplicitUpdate option for mobile devices
2024-02-06 17:55:34 +01:00
Jörg Thalheim
be3a75bbd7
add support for build machines
2024-02-06 17:21:42 +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
a2f0d077c8
remove unused ssh.run method
2024-02-06 15:47:32 +01:00
Jörg Thalheim
c66c25aeb7
machines: don't ignore errors when parsing secretsData json
2024-02-06 15:15:21 +01:00
Jörg Thalheim
91f26a4743
skip machines without target_host when running clan machines update
2024-02-06 15:04:19 +01:00
Jörg Thalheim
ad1a87fc14
move checks if targetHost/buildHost is set to cli
2024-02-06 14:51:44 +01:00
Qubasa
ab05cfde30
clan_manager: Implemented machine_icon, machine_description
2024-02-06 20:13:18 +07:00
Qubasa
21443d0647
cli,nix: Add machine_icon, machine_description
2024-02-06 19:25:34 +07:00
lassulus
815527ec2b
clan-cli secrets: commit facts/secrets after generating them
2024-02-05 10:03:10 +01:00
lassulus
e265537f69
clan-cli secrets: remove debug output
2024-02-05 10:03:10 +01:00
lassulus
8114cebaa4
clan-cli git: add commit_files function
2024-02-05 10:03:10 +01:00
lassulus
31188648f0
clan-cli update: remove legacy argument
2024-02-03 07:53:15 +01:00
lassulus
6a62065cdf
clan-cli update: upload only local paths from localhost
2024-02-03 07:53:15 +01:00
lassulus
315cdea6ce
clan-cli machines: remove debug prints
2024-02-02 17:40:19 +01:00
lassulus
605b03bb91
clan-cli password-store: remove debug print
2024-02-02 17:40:19 +01:00
lassulus
bcdde990ff
clan-cli secrets: add check command
2024-02-02 17:40:19 +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
clan-bot
7daca31db7
Merge pull request 'Starting to implement logs' ( #796 ) from Qubasa-main into main
2024-02-02 05:07:39 +00:00
Qubasa
16562946fe
vm-manager: Added log console printing on vm start. Added python logging module
2024-02-02 12:04:30 +07:00
clan-bot
789f3132c5
Merge pull request 'multi join via cli' ( #795 ) from hsjobeki-main into main
2024-02-02 04:01:49 +00:00
Johannes Kirschbauer
e57169cb29
multi join via cli
2024-02-02 10:58:28 +07:00
DavHau
56b6907740
qemu: init python modules for qmp and qga
2024-02-01 12:32:21 +07:00
a-kenji
533012af7d
vms: rename wayland attrs to waypipe
...
And remove the options from the cli interface.
2024-02-01 10:14:36 +07:00
a-kenji
f89c9b00dd
vms: wayland attr specified in configuration
2024-02-01 09:00:43 +07:00
DavHau
59fa63eba9
Reapply "vm-state: fix and improve testing"
...
This reverts commit 99092f6e76 .
vm-state: revert sysusers, improve testing
zerotier: enable persistence
vm-state: cleanup tests
2024-01-31 11:02:16 +07:00
lassulus
961eb26335
secrets modules: pass secrets as bytes
2024-01-30 12:11:05 +01:00
lassulus
0dbfe52d62
secrets: add sandbox user
2024-01-30 12:11:05 +01:00
Qubasa
649e345585
Machine __str__ impl
2024-01-30 15:32:35 +07:00
Qubasa
52f5c890cc
URI: Fixed removed url fragment
2024-01-30 13:28:12 +07:00
Qubasa
a50d0f1743
CLI: Added grouping output for clan history list.
2024-01-30 12:39:52 +07:00
Qubasa
119a05d999
Fixed clan uri. Expand user, then resolve
2024-01-30 12:17:24 +07:00
Jörg Thalheim
c417157941
clan-cli: implement waypipe backend
2024-01-30 10:37:52 +07:00
Jörg Thalheim
9fef40258a
cmd: skip print for zero-length bufs
2024-01-30 10:30:25 +07:00
Jörg Thalheim
a3d92a766e
clan-cli: drop unused variables
2024-01-30 10:30:25 +07:00