Commit graph

91 commits

Author SHA1 Message Date
Raphael Dannecker
1c4554e9e0 Run VM-sync only when server is reachable. 2024-06-21 15:49:36 +02:00
Andreas B. Mundt
4d961c60e9 Adapt to latest macvtap device names. 2024-06-14 14:24:26 +02:00
Raphael Dannecker
07ff7f258c Merge branch 'macvtap' into fvs 2024-06-11 14:45:15 +02:00
Raphael Dannecker
679e0cc0aa Rework printer setup.
Don't remove local printers.
Create printerlist.csv for VMs.
2024-06-04 14:42:10 +02:00
Raphael Dannecker
93d261e73b Network devices are now only managed by NetworkManager.
Systemd-networkd is no longer used.
NetworkManager creates a MACVTAP device for each physical Ethernet device.
When calling vm-run with option macvtap, all macvtap-devices are passed to the VM.
2024-05-23 09:58:41 +02:00
Andreas B. Mundt
edf92566cf Allow multiple VMs. 2024-04-30 11:16:32 +02:00
Raphael Dannecker
ecad541567 Make sure there is at least 5GB of free space after the VM sync. 2024-04-28 19:37:13 +02:00
Raphael Dannecker
4c6a499cf0 Fix misspelled name of lmnsynci-User. 2024-03-12 10:39:18 +01:00
Raphael Dannecker
30f24bb666 delete old VM-images when running out of space 2024-03-10 10:02:31 +01:00
Andreas B. Mundt
07f34be546 Fix VMs with home on CIFS. 2024-02-14 15:06:05 +01:00
Andreas B. Mundt
d4f6d91f15 Allow starting multiple VMs where the first uses the macvtap device. 2024-02-13 20:16:47 +01:00
Raphael Dannecker
9320f6fd67 allways pull torrent-files from backing-files 2024-02-08 09:22:26 +01:00
Raphael Dannecker
1a9cb2d68a fix path of qcow2 file for outdated-check 2024-02-08 07:22:40 +01:00
Andreas B. Mundt
6e49613f4c Merge branch 'dev-vm' into fvs 2024-02-05 19:57:39 +01:00
Raphael Dannecker
d285b9dbf0 vm-upload must be run as user root 2024-02-05 12:59:23 +01:00
Andreas B. Mundt
eeec281bb0 Fix path for RAM image. SIP client on request. 2024-02-05 11:46:11 +01:00
Andreas B. Mundt
1e91e30a3f Add RAM option to allow exploring DHCP. 2024-02-04 10:21:02 +01:00
Andreas B. Mundt
9590af9ba2 Minor fixes and improvements. 2024-02-02 19:29:27 +01:00
Raphael Dannecker
ccec0f7fea fix owner of starters 2024-02-01 15:01:59 +01:00
Raphael Dannecker
89f851bc73 vm cpu utilization optimized 2024-02-01 09:08:33 +01:00
Raphael Dannecker
a410f4528c 2nd nic for TIA-VM (--bridge Option in vm-start) 2024-02-01 08:13:27 +01:00
Raphael Dannecker
a18bb05551 Merge branch 'fvs' into dev-vm 2024-01-30 08:38:46 +01:00
Andreas B. Mundt
cfae3f22ed VM chooser menu and much faster direct kernel loading. 2024-01-30 08:28:47 +01:00
Andreas B. Mundt
1622106e3c Calculate memory and number of CPUs for the VM. 2024-01-27 10:12:30 +01:00
Andreas B. Mundt
138c4f7d7e Simplify netboot VM start by script. 2024-01-27 10:12:30 +01:00
Raphael Dannecker
b5bb3c9fa6 create VMs without xml machine file 2024-01-24 10:02:03 +01:00
Andreas B. Mundt
5a2ae0d33c Add files and variable missing in last commit. 2024-01-23 08:07:39 +01:00
Andreas B. Mundt
4ce97f5486 Fixes and new desktop starter synchronization system. 2024-01-20 14:38:02 +01:00
Andreas B. Mundt
350f4c2646 Configure a valid DHT cache directory. 2024-01-20 14:33:12 +01:00
Andreas B. Mundt
57ec856f49 Avoid exposing passwords in the process list, use a password file. 2024-01-20 07:56:48 +01:00
Raphael Dannecker
917b45aadc move sudo-config for mounthome back to separate file 2024-01-19 22:15:04 +01:00
Raphael Dannecker
330e688fe8 sudo privileges for mounthome.sh and sync-vm.sh 2024-01-19 22:08:12 +01:00
Raphael Dannecker
40962fd9de distribute VM-images with aria2 instead of ctorrent 2024-01-19 20:08:19 +01:00
Andreas B. Mundt
2a79f3c304 Fix console login error message from pam mount. 2024-01-16 12:01:30 +01:00
Andreas B. Mundt
3a14705d42 Inventory, emitter shows more details, and minor fixes. 2024-01-12 17:45:20 +01:00
Andreas B. Mundt
25c9a4db4b Implement netboot VM with macvtap interface. 2023-11-28 11:17:12 +01:00
Raphael Dannecker
6edbc8dade nicelevel 19 for ctorrents 2023-11-09 13:55:22 +01:00
Raphael Dannecker
d7d0069dd3 script aborts if no qcow2-File found 2023-10-08 19:47:01 +02:00
Raphael Dannecker
3768d0e77b remove old qcows if filesize on server has changed 2023-10-07 12:00:42 +02:00
Raphael Dannecker
27985c08b3 do not abort, if torrent is not running 2023-09-23 08:04:56 +02:00
Andreas B. Mundt
2e0ffda273 Improve slice and delay handling. 2023-09-16 11:32:25 +02:00
Andreas B. Mundt
cb2ed82715 Switch to transient service unit. Socket-triggering fails for now. 2023-09-16 11:31:11 +02:00
Raphael Dannecker
49e092a7df old projects added 2023-09-12 21:12:49 +02:00
Raphael Dannecker
18e7bd2011 delete existing local desktop files except mimeinfo.cache 2023-09-08 18:18:03 +02:00
Andreas B. Mundt
9560228f3b Fix umount when virtiofs was never used (slice does not exist). 2023-09-08 11:27:42 +02:00
Andreas B. Mundt
09ffead361 Work around slow socket appearance. FIXME! 2023-09-07 12:05:04 +02:00
Andreas B. Mundt
9e16c216a7 Use latest virtiofs. The distributed daemon sometimes causes issues.
Binary downloaded from: https://gitlab.com/virtio-fs/virtiofsd
2023-09-07 07:50:36 +02:00
Andreas B. Mundt
a1e47cf64b Umount script: Kill blocking processes and destroy VMs. 2023-09-05 18:10:59 +02:00
Andreas B. Mundt
6c69d4ce4d Fix permissions for VM access. 2023-09-04 15:38:03 +02:00
Andreas B. Mundt
da71eed94b Clean up VM scripts a bit. 2023-09-04 15:38:03 +02:00