Raphael Dannecker
48a3aa831d
Create cleanup-config to remove /lmn/media/*-exam on boot.
2024-07-01 11:59:55 +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
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
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
Raphael Dannecker
d285b9dbf0
vm-upload must be run as user root
2024-02-05 12:59:23 +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
138c4f7d7e
Simplify netboot VM start by script.
2024-01-27 10:12:30 +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
40962fd9de
distribute VM-images with aria2 instead of ctorrent
2024-01-19 20:08:19 +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
Raphael Dannecker
5f088511c4
windows-VMs need to know the domain to contact the kms server
2023-11-09 07:31:42 +01:00
Andreas B. Mundt
a586ac5201
Combine playbooks and update/adapt inventory accordingly.
2023-10-21 17:18:41 +02:00
Andreas B. Mundt
e48c761935
Provide a local guest user.
2023-10-21 10:01:02 +02:00
Andreas B. Mundt
987e33c989
Displayed hostname overlaps with battery symbol on laptops.
2023-10-08 19:47:37 +02:00
Andreas B. Mundt
bfae6ff010
Separate clean-up-stuff from other tasks.
2023-09-28 14:23:35 +02:00
Andreas B. Mundt
cb2ed82715
Switch to transient service unit. Socket-triggering fails for now.
2023-09-16 11:31:11 +02:00
Andreas B. Mundt
46a45bfc0f
Fix syntax in desktop-file related tasks.
2023-09-08 14:02:58 +02:00
Andreas B. Mundt
a8f950e085
Some package cleanup.
2023-09-07 07:55:53 +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
b518b9a206
Set sticky bit (restricted deletion flag) to allow PAM mount as user.
2023-09-06 08:50:52 +02:00
Andreas B. Mundt
7756c30bb5
Avoid lmnsynci as owner for /lmn.
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
Andreas B. Mundt
3ea922c263
Clean up proxy configuraton.
2023-09-04 12:43:55 +02:00
Andreas B. Mundt
7fd6c76996
Use a service for virtiofs for better control.
2023-09-04 11:39:29 +02:00
Andreas B. Mundt
c59fb67ed0
Try smart umount as a simple solution (no credentials needed).
2023-08-19 18:31:09 +02:00
Andreas B. Mundt
fac98e9f09
Attempt to umount properly.
2023-08-19 13:44:26 +02:00
Andreas B. Mundt
2f7da9c1b4
Move PAM mount config for VMs to corresponding role. Cleanup.
2023-08-18 10:43:33 +02:00
Raphael Dannecker
10967afaf7
lmnsynci without homedir
2023-08-16 12:18:32 +02:00
Andreas B. Mundt
6da010f89b
Comment outdated stuff.
2023-08-14 22:23:07 +02:00
Raphael Dannecker
e64008c714
store vmimages in /lmn/vm and mount media in /lmn/media
2023-08-14 16:18:34 +02:00
Andreas B. Mundt
edf71a4368
Try to work around #1039472 . Use full path. Fix grub update. Cleanup.
2023-07-24 14:08:21 +02:00
Andreas B. Mundt
244a1cad2e
Move files and handlers to corresponding role.
2023-07-24 07:39:55 +02:00
Raphael Dannecker
08d1bccace
moved block to other role
2023-07-23 21:06:47 +02:00
Raphael Dannecker
d88d9fb428
restrict upload to role teacher
2023-07-13 15:44:17 +02:00
Raphael Dannecker
dce05711b4
systemd vmimage-torrent.service added
2023-05-06 12:04:07 +02:00
Raphael Dannecker
399c3d0d66
sync-vm with torrent support
2023-05-03 17:24:27 +02:00
Andreas B. Mundt
7871936a67
New scripts and sudo rules. Implement qemu session mode.
2023-04-04 13:49:47 +02:00
Andreas B. Mundt
7a3f106ee3
Switch to cifs for home dirs.
2023-03-15 14:55:33 +01:00
Andreas B. Mundt
5640c3e76b
Get ready for bookworm by default.
2023-03-14 17:12:53 +01:00
Andreas B. Mundt
cb9f5fdb23
Skip time consuming VM syncing during installation, cleanup.
2023-02-18 10:22:46 +01:00
Raphael Dannecker
354075f530
shell syntax optimized and more options for rebase-vm.sh
2023-02-12 14:38:29 +01:00