Commit graph

127 commits

Author SHA1 Message Date
Raphael Dannecker
48a3aa831d Create cleanup-config to remove /lmn/media/*-exam on boot. 2024-07-01 11:59:55 +02:00
Raphael Dannecker
4e229b4a5d Merge branch 'virtiofsd-usermapping' into fvs 2024-06-24 07:20:55 +02:00
Raphael Dannecker
a3d8fbaa82 Improved temporary fix for assigning default UID and GID mappings for linux-VMs. 2024-06-23 18:02:16 +02:00
Raphael Dannecker
2d7372e0c3 Fix spelling of virtiofsd binary. 2024-06-21 19:00:59 +02:00
Raphael Dannecker
1c4554e9e0 Run VM-sync only when server is reachable. 2024-06-21 15:49:36 +02:00
Raphael Dannecker
f201332a4b Run virtiofsd in usermode and mount shares with correct gid.
- The new virtiofsd provides the ability to map a specified
  UID and GID to that of the user when running in user mode.
  As a result, virtiofsd is moved to userland for VMs and
  the new -uid and -gid options are introduced that specify
  the IDs on the guest.New v
- The drives no longer have to be mounted with the group ID 1010.
  Therefore, the mount options are changed to the real group ID
2024-06-17 21:35:18 +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
ce9b1806f1 Create macvtap devices based on all physical network devices (en[pos]). 2024-06-04 14:26:40 +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
08f0f082fd Introduction of a new device class (localhome).
- user-home is on local disk
- additional entry in dolphin: home@server
- display info about localhome on login-screen
- provide unison-config for sync home with home@server
- force user to be logged out immediately after first login, because
  home-dir must exists for bind-mounts on /lmn/media
2024-04-28 19:37:13 +02:00
Raphael Dannecker
4aeee9442c Allow local squid direct internet access if parent proxy not available. This is important for devices that are not exclusively in the school network. 2024-04-28 19:37:13 +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
72a134fcbf Fixes for the laptop role merged before.
Packages need to be installed before messing around
with network configurations.
2024-02-07 17:20:11 +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
fb4041b6f2 remove old desktop VM-starters 2024-01-30 15:17:02 +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
877396dc15 Move task to the top before the last apt run. 2023-12-11 20:27:11 +01:00
Andreas B. Mundt
e1ac7eb798 Ensure that suid mode is persistent on package upgrades. 2023-12-07 15:35:44 +01:00
Andreas B. Mundt
25c9a4db4b Implement netboot VM with macvtap interface. 2023-11-28 11:17:12 +01:00
Raphael Dannecker
47844f3019 extra network interface for TIA VM 2023-11-15 14:57:05 +01:00
Raphael Dannecker
5b652b0e28 fixed filepath (link does not exist when installing) 2023-11-13 15:15:07 +01:00