Commit Graph

1733 Commits

Author SHA1 Message Date
Jörg Thalheim
163abdb311 schema: set also clanName
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
Jörg Thalheim
5dd222eb69 zerotier: set interface altname 2024-01-11 15:51:34 +01:00
Jörg Thalheim
449b884231 zerotier: use configuration file instead to set the network name 2024-01-11 14:57:00 +01:00
Jörg Thalheim
7e644a2054 make zerotier name configureable 2024-01-11 14:57:00 +01:00
clan-bot
b8bda773c4 Merge pull request 'zerotier: delete old networks' (#709) from Mic92-zerotier into main 2024-01-11 12:29:09 +00:00
Jörg Thalheim
ab381dfb75 zerotier: delete old networks 2024-01-11 13:24:00 +01:00
Mic92
8bc16b0f87 Merge pull request 'meshnamed: mark networkmanager interfaces as unmanaged' (#708) from zerotier into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/708
2024-01-11 11:47:59 +00:00
Jörg Thalheim
0a5b5e9b5c meshnamed: mark networkmanager interfaces as unmanaged 2024-01-11 12:17:44 +01:00
clan-bot
7ce276c25c Merge pull request 'cmd.py part 3 refactor' (#706) from Qubasa-main into main 2024-01-10 17:57:51 +00:00
Qubasa
25e6f90b01 Improved error message. Fixed incorrect ret code check in git.py 2024-01-10 18:54:34 +01:00
Qubasa
50781d6cf0 Fixed bug, where exception is raised where there shouldn't be raised one 2024-01-10 18:46:54 +01:00
Qubasa
513f48bab1 cmd.py part 3 refactor 2024-01-10 18:39:19 +01:00
Mic92
7bb78ce5a6 Merge pull request 'open up zerotier ports' (#705) from Mic92-wayland-update into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/705
2024-01-10 17:24:41 +00:00
Jörg Thalheim
eb42320d14 open up zerotier ports 2024-01-10 17:24:41 +00:00
clan-bot
726ba6147f Merge pull request 'Added ClanCmdError. cmd.run now returns this error' (#704) from Qubasa-main into main 2024-01-10 17:02:08 +00:00
Qubasa
cbc4c966f1 Added ClanCmdError. cmd.run now returns this error 2024-01-10 17:58:39 +01:00
clan-bot
e75b4ac6e6 Merge pull request 'Refactor subprocess to cmd.py part 2' (#685) from Qubasa-main into main 2024-01-10 16:34:38 +00:00
Qubasa
2f9195b779 Fix cmd to default print on all outputs. Default print on stderr 2024-01-10 17:31:11 +01:00
Qubasa
715ed10e59 nix fmt 2024-01-10 17:19:33 +01:00
Qubasa
cc6f9e67fa nix fmt 2024-01-10 17:19:12 +01:00
Qubasa
6f27cd8b6a Updated cmd.py with Mic92 changes to fit previous changes 2024-01-10 17:18:21 +01:00
clan-bot
22b1438c37 Merge pull request 're-anble pulseaudio in qemu' (#703) from Mic92-wayland-update into main 2024-01-10 14:36:25 +00:00
Mic92
65b3657eac Merge branch 'main' into Mic92-wayland-update 2024-01-10 14:33:55 +00:00
Jörg Thalheim
d72bb17878 re-anble pulseaudio in qemu 2024-01-10 15:32:37 +01:00
Qubasa
7049573d28 Refactor subprocess to cmd.py part 2 2024-01-10 12:11:29 +01:00
clan-bot
98fff1f390 Merge pull request 'state: declare /home as state by default' (#702) from DavHau-main into main 2024-01-10 10:40:36 +00:00
DavHau
49eca79751 state: declare /home as state by default 2024-01-10 17:37:40 +07:00
clan-bot
940f2fc68b Merge pull request 'state: move options clanCore.state to a separate file' (#701) from DavHau-main into main 2024-01-10 10:13:13 +00:00
DavHau
9f6af4129a state: move options clanCore.state to a separate file 2024-01-10 17:10:10 +07:00
clan-bot
9f4e38fcf0 Merge pull request 'cmd: rework redirecting stdout/stderr' (#700) from Mic92-wayland-update into main 2024-01-09 16:39:19 +00:00
Jörg Thalheim
b476f6386d cmd: rework redirecting stdout/stderr 2024-01-09 17:34:43 +01:00
clan-bot
11cc850bed Merge pull request 'VMs: ensure state dirs don't collide between clans' (#699) from DavHau-main into main 2024-01-09 10:25:39 +00:00
DavHau
368931c5af VMs: ensure state dirs don't collide between clans 2024-01-09 17:22:48 +07:00
clan-bot
2426094aad Merge pull request 'VMs: port vm_persistence test to python' (#698) from DavHau-main into main 2024-01-09 07:50:31 +00:00
DavHau
5cdd9a1817 VMs: port vm_persistence test to python 2024-01-09 14:47:33 +07:00
clan-bot
b26ab00edb Merge pull request 'zerotier-members: print authorized state on list' (#697) from lassulus-member_list_auth into main 2024-01-08 21:32:00 +00:00
lassulus
ae774353c1 zerotier-members: print authorized state on list 2024-01-08 22:28:13 +01:00
clan-bot
b092743ddd Merge pull request 'VMs: persist state folders on host' (#696) from DavHau-main into main 2024-01-08 11:42:19 +00:00
DavHau
4bdf769075 VMs: persist state folders on host
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders

TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
clan-bot
e08698aac3 Merge pull request 'move selected_vm to the ClanListToolbar constructor' (#690) from Mic92-wayland-update into main 2024-01-04 17:53:02 +00:00
clan-bot
55047c1320 Merge pull request 'Update start/stop button based on VM state' (#689) from Mic92-wayland-update into main 2024-01-04 17:50:25 +00:00
Jörg Thalheim
8e00120724 move selected_vm to the ClanListToolbar constructor 2024-01-04 18:50:21 +01:00
Jörg Thalheim
a80c386e44 Update start/stop button based on VM state 2024-01-04 18:47:52 +01:00
Jörg Thalheim
0192ec2d4f executor: simplify running_procs 2024-01-04 18:42:13 +01:00
clan-bot
a3294ab714 Merge pull request 'reduce number of eval workers' (#688) from Mic92-wayland-update into main 2024-01-04 16:21:16 +00:00
clan-bot
e9dc905148 Merge pull request 'clan-vm-manager: make joining clan url more logical' (#687) from Mic92-wayland-update into main 2024-01-04 16:18:29 +00:00
Jörg Thalheim
b4c5168855 reduce number of eval workers 2024-01-04 17:18:10 +01:00
Jörg Thalheim
cb9b25b34d clan-vm-manager: make joining clan url more logical
The icon is confusing. It distracts from the actual "Join" label. Also when a user
copy in an URL we can assume they trust the content, which might be not the case
when they just clicked on an URL.
2024-01-04 17:08:01 +01:00
Jörg Thalheim
11a2e808f0 clan-vm-manager: rename "New" to "Join Clan" 2024-01-04 16:50:19 +01:00
Jörg Thalheim
61a0c69b38 clan-vm-manager: rename "Online" to "Status"
online means connected to some network, which is not what this field shows.
2024-01-04 16:49:21 +01:00