Commit Graph

931 Commits

Author SHA1 Message Date
Jörg Thalheim
c155fe0fb9 make facts stores inherit from an interface 2024-02-16 14:47:39 +01:00
Jörg Thalheim
587812ebc9 make secrets stores inherit from an interface 2024-02-16 14:47:28 +01:00
clan-bot
99c5032b63 Merge pull request 'clan-vm-manager: Added clan icon to trayicon' (#855) from Qubasa-main into main 2024-02-16 09:14:08 +00:00
Qubasa
8a0edddca7 clan-vm-manager: Fixing vm starting. 2024-02-16 16:10:49 +07:00
Jörg Thalheim
033dc6ee55 update comments about virtio-gpu 2024-02-16 09:52:13 +01:00
Qubasa
0b0867907e clan-vm-manager: Added clan icon to trayicon 2024-02-16 12:25:06 +07:00
Jörg Thalheim
8a109b666b vms: move qemu_command to its own module 2024-02-15 17:25:24 +01:00
Jörg Thalheim
5a718dd086 vms: drop unused xchdir 2024-02-15 17:19:43 +01:00
Jörg Thalheim
63c5065620 vms: move virtiofsd/waypipe into their own modules 2024-02-15 17:19:31 +01:00
Jörg Thalheim
90e9bc999e add file prefix for nix 2.19 or newer 2024-02-15 12:24:18 +01:00
lassulus
5ed4881687 vms: use vm fact/secret-store 2024-02-15 10:41:25 +01:00
lassulus
e3627c12f7 add factsStore modules 2024-02-15 10:41:25 +01:00
clan-bot
f91df4fb88 Merge pull request 'clan_vm_manager: --debug enables debug mode in clan_cli too' (#840) from Qubasa-add_spinner into main 2024-02-14 08:43:14 +00:00
Qubasa
3e8350bd3f clan_cli: Added longer timeout for test 2024-02-14 15:40:03 +07:00
Jörg Thalheim
2202e5a001 fix virtiofsd in CIs 2024-02-13 13:57:52 +01:00
Jörg Thalheim
9f494e1024 drop check for /var/lib/nixos 2024-02-13 12:44:22 +01:00
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
6d06742c49 clan_cli: Added lazy qmp 2024-02-13 16:44:09 +07:00
Qubasa
e17fa83dad test_vms_cli: Trying new way of testing 2024-02-13 16:44:09 +07:00
Qubasa
a1afd05fcb clan_cli: Made qmp implementation lazy 2024-02-13 16:44:09 +07: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
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
Johannes Kirschbauer
14cb6544ec Clan VM Manager: detect if clan exists 2024-02-07 16:08:48 +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
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
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