Commit Graph

1052 Commits

Author SHA1 Message Date
Jörg Thalheim
7c41a0e0f8 also use qcow2 for volatile state 2024-02-13 11:45:42 +01:00
Jörg Thalheim
2970c1bc00 use virtio-console instead of serial for vm 2024-02-13 11:45:42 +01:00
Jörg Thalheim
d2d4267003 format rootfs in vm itself 2024-02-13 11:45:42 +01:00
Jörg Thalheim
4c6a95c844 drop unused mounts 2024-02-13 11:45:42 +01:00
Jörg Thalheim
53df1fc209 qemu: disable sea-bios and option rom 2024-02-13 11:45:42 +01:00
Jörg Thalheim
f8a10ab0fc switch to sops-nix experimental branch 2024-02-13 11:45:23 +01:00
Jörg Thalheim
8f7eb704c7 vms: integrate virtiofsd 2024-02-13 11:44:17 +01:00
Qubasa
d54531e38c update flake lock 2024-02-12 14:52:01 +07:00
Qubasa
e30168742e clan_vm_manager: Added VM shutdown timeout 2024-02-12 14:16:44 +07:00
Qubasa
b54e6eb520 UI: Added tray icon 2024-02-12 13:43:54 +07:00
lassulus
a94201c1d0 allow passing of extra_config into machines 2024-02-11 08:40:41 +01:00
DavHau
a438a27c69 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
Qubasa
d99ef89f7c UI: Fixed incorrect display of cLAN icon in window switcher 2024-02-08 15:00:36 +07:00
Johannes Kirschbauer
1d50d8824c Clan VM Manager: add dropdown to add more machines 2024-02-08 14:36:47 +07:00
Qubasa
67029693aa UI: Improved Join card display 2024-02-08 14:28:34 +07:00
Qubasa
58065a7401 UI: Fixed style.css not working when installed 2024-02-08 14:10:17 +07:00
Qubasa
e6e4f6f958 UI: Added joining multiple clans one after another over clan url 2024-02-07 17:16:20 +07:00
Johannes Kirschbauer
14cb6544ec Clan VM Manager: detect if clan exists 2024-02-07 16:08:48 +07:00
Johannes Kirschbauer
3c28e82a0c Clan VM Manager: init per vm settings handler 2024-02-07 15:41:18 +07:00
clan-bot
30be55584d Merge pull request 'clan_manager: UI is now a singelton.' (#822) from Qubasa-main into main 2024-02-07 05:06:11 +00:00
Qubasa
74323595c9 clan_manager: UI is now a singelton. 2024-02-07 12:03:12 +07:00
lassulus
bbc28a6262 clan-cli: add simple flash command 2024-02-07 05:26:01 +01:00
Jörg Thalheim
5afd5baeb2 add requireExplicitUpdate option for mobile devices 2024-02-06 17:55:34 +01:00
Jörg Thalheim
8f74f257e7 add support for build machines 2024-02-06 17:21:42 +01:00
Jörg Thalheim
5e5077c31c rename machine.host to machine.target_host 2024-02-06 17:21:42 +01:00
Jörg Thalheim
7d62e147a9 rename target_host to target_host_address 2024-02-06 17:21:42 +01:00
Jörg Thalheim
0745bcb9a0 machines/update: get flake_attr from machine class 2024-02-06 17:21:42 +01:00
Jörg Thalheim
eee82b97cd remove unused ssh.run method 2024-02-06 15:47:32 +01:00
Jörg Thalheim
f1756c3a43 machines: don't ignore errors when parsing secretsData json 2024-02-06 15:15:21 +01:00
Jörg Thalheim
8db4d31a52 skip machines without target_host when running clan machines update 2024-02-06 15:04:19 +01:00
Jörg Thalheim
d36aea3f73 move checks if targetHost/buildHost is set to cli 2024-02-06 14:51:44 +01:00
Qubasa
79ee50b810 clan_manager: Implemented machine_icon, machine_description 2024-02-06 20:13:18 +07:00
Qubasa
8194b61e4b cli,nix: Add machine_icon, machine_description 2024-02-06 19:25:34 +07:00
clan-bot
84a5fdf7c6 Merge pull request 'build-clan: Removed unecessary arg, machineDescription and machineIcon' (#810) from Qubasa-main into main 2024-02-05 09:58:58 +00:00
Qubasa
e0ba8dd6cb build-clan: Removed unecessary arg, machineDescription and machineIcon 2024-02-05 16:56:13 +07:00
lassulus
9585883e80 clan-cli secrets: commit facts/secrets after generating them 2024-02-05 10:03:10 +01:00
lassulus
e94983be21 clan-cli secrets: remove debug output 2024-02-05 10:03:10 +01:00
lassulus
0a89abef89 clan-cli git: add commit_files function 2024-02-05 10:03:10 +01:00
Qubasa
4fa82b993d vm_manager: Fixed uri join and then vm start not working 2024-02-05 15:57:14 +07:00
Johannes Kirschbauer
327645486f async join 2024-02-05 15:05:14 +07:00
Qubasa
e8416856f7 Added machineIcon and machineDescription to buildClan 2024-02-05 14:18:40 +07:00
Qubasa
bc1842dd2b UI: Fixed multiple connects to signal 2024-02-05 13:37:35 +07:00
lassulus
3f2f3012b9 clan-cli update: remove legacy argument 2024-02-03 07:53:15 +01:00
lassulus
06c2734c9b clan-cli update: upload only local paths from localhost 2024-02-03 07:53:15 +01:00
lassulus
62f46751c7 clan-cli machines: remove debug prints 2024-02-02 17:40:19 +01:00
lassulus
8cbedfd3b8 clan-cli password-store: remove debug print 2024-02-02 17:40:19 +01:00
lassulus
ece289d0cc clan-cli secrets: add check command 2024-02-02 17:40:19 +01:00
Jörg Thalheim
584299e199 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
3183a3e2fc Merge pull request 'Starting to implement logs' (#796) from Qubasa-main into main 2024-02-02 05:07:39 +00:00
Qubasa
a894b358b4 vm-manager: Added log console printing on vm start. Added python logging module 2024-02-02 12:04:30 +07:00