Commit graph

738 commits

Author SHA1 Message Date
Raphael Dannecker
a507c1decf Downloading changed images takes a lot of time, so let's ask the user before 2024-12-11 13:38:05 +01:00
Raphael Dannecker
23a9b6ff97 Enable firewall activation for exam-mode
For working exam-mode we need to block direct internet access by firewall.
Users have to use squid-proxy on firewall, which can be disabled for exam-users.
To allow VM-traffic (anonymous user), we use a local squid server with users
kerberos-ticket to authenticate on the parent squid.

When using VMs on teacherdevices offsite, the local squid has to use direct internet access.
So we need two squid configs. When switching between offsite and onsite,
the squid has to be restartet with corresponding config.
2024-12-11 13:09:30 +01:00
Raphael Dannecker
99d7bd64db Exam users uid always changes, therefore their home directory must be deleted 2024-12-04 12:08:28 +01:00
Raphael Dannecker
3ff31771f7 The path for the persistent VMs was incorrectly not always set 2024-11-27 18:29:39 +01:00
Raphael Dannecker
9ab774ef24 Set default audio to line out for some devices 2024-11-27 12:06:03 +01:00
Raphael Dannecker
1a48d82224 Prevent wasting disk space by accident 2024-11-27 12:04:43 +01:00
Raphael Dannecker
017b6759ce Add new hosts to inventory 2024-11-26 12:46:48 +01:00
Andreas B. Mundt
77f4643628 Make tests for group membership more readable 2024-11-21 12:42:37 +01:00
Andreas B. Mundt
8a25609749 Fix/update firefox bookmark menu 2024-11-21 12:42:37 +01:00
Raphael Dannecker
5fa626a598 Install required lib for zotero 2024-11-13 11:27:49 +01:00
Raphael Dannecker
87facdbd10 Remove outdated misconfigured NetworkManager wlan connection 2024-11-12 11:07:07 +01:00
Andreas B. Mundt
1f2e88da6e Run apt-daily early to avoid outdated package lists 2024-11-08 11:57:38 +01:00
Raphael Dannecker
c0770ac5d7 Hosts added to inventory 2024-11-08 07:29:32 +01:00
Raphael Dannecker
b1ebed77b0 Force ansible-play after installation because ansible-pull does not use inventory.yml 2024-11-06 09:54:39 +01:00
Raphael Dannecker
c909f222a4 New PCs need more time before the screen resolution can be fixed 2024-11-06 09:50:48 +01:00
Raphael Dannecker
10e386d824 Hosts added to inventory 2024-11-05 10:41:51 +01:00
Raphael Dannecker
b1816effdb create a list of network drives that can be mounted in the VM
Some Windows programs have problems with virtiofsd drives.
So that the appropriate SMB shares can be mounted directly in Windows,
a corresponding list of network drives is created before the VM starts.
2024-11-04 18:26:53 +01:00
Raphael Dannecker
b8d9886054 Fix dolphin places config (user-places.xbel)
Existing dolphin configs can be incorrect for two reasons:
- Instead of the class identifier, a * was incorrectly entered in the home@server URL.
- If the student has changed classes, the old class name is still in the home URL.

lmn-patch-dolphin.sh no longer enters a * in the home@server URL.
lmn-fixhome-dolphin.sh will fix existing configs.
2024-10-31 17:28:16 +01:00
Raphael Dannecker
864965a29d Add CU051 laptops to inventory 2024-10-23 14:33:35 +02:00
Raphael Dannecker
cb1d92ee3d Add A135 laptops to inventory 2024-10-23 09:54:20 +02:00
Raphael Dannecker
4c076e54f8 Fix patch-dolphin script (patch syntax for empty lines) 2024-10-14 15:10:17 +02:00
Raphael Dannecker
c068e85339 Fix primary screen for class room PCs with projector
Fixed EDID modes are set on the HDMI switch (ACER 120Hz problem).
This means that the affected PCs always see a second screen, even if beamer is off.

To avoid confusion, it must be ensured that no information is displayed on invisible devices:
- set primary screen for login dialog
- set primary screen after login
- clone screen
If the primary screen deviates from the standard, this information is maintained via inventory.

In addition, some PCs have different audio autputs than HDMI (or they have multiple HDMI outputs).
It is therefore possible to specify the audio device in the inventory.
2024-10-14 14:49:25 +02:00
Raphael Dannecker
b8afbcde08 Add host to inventory 2024-09-26 11:40:31 +02:00
Raphael Dannecker
9cf82fa0c2 Add workshop to inventory 2024-09-25 15:08:35 +02:00
Raphael Dannecker
317471011c Add package jq, needed for fixscreen (scale) starter 2024-09-25 08:44:43 +02:00
Raphael Dannecker
a6387f58e5 Hosts added to inventory and dual-screen info updated 2024-09-25 08:41:07 +02:00
Raphael Dannecker
8b37c5b021 Add r112pc02 to inventory 2024-09-16 08:48:43 +02:00
Andreas B. Mundt
fe2fcf9add Add copy room host 2024-09-11 16:12:30 +02:00
Andreas B. Mundt
beeef6f689 Fix dual screen setup 2024-09-10 15:56:08 +02:00
Raphael Dannecker
90ead28033 Add device with name to inventory 2024-09-10 14:54:38 +02:00
Raphael Dannecker
35262c4ac5 Add device to inventory 2024-09-10 14:00:37 +02:00
Raphael Dannecker
24af67384d Provide Nextcloud tools for teacherlaptops 2024-09-08 18:24:53 +02:00
Raphael Dannecker
2c201e160e Improve printer installation on teacherlaptops
- Update printer list when connected via VPN
- Prevent printer removal, when logging in without a connection to the school network
2024-09-08 11:35:12 +02:00
Andreas B. Mundt
df50907006 Deploy latest codeblocks again 2024-09-06 13:39:32 +02:00
Raphael Dannecker
1a1a1a056e Add papercut to list of printservers 2024-09-06 08:15:26 +02:00
Raphael Dannecker
f9c0202107 Use KDE filepicker in Firefox, Thunderbird, ... 2024-09-06 08:13:48 +02:00
Andreas B. Mundt
5192b27d9e Move ansible last run stamping to better location
Before, only root could read the file containing the stamps.
2024-07-24 08:50:20 +02:00
Raphael Dannecker
962dc07a2a Make wg configuration an optional task
During installation and automatic updates applied by the emmiter
permissions to access the wg server are not available.

Switch the task on with the tag: "--tags all,wgconfig".
2024-07-24 08:41:58 +02:00
Raphael Dannecker
3e02142123 Improve printer installation script
- Remove all printers from known print servers before installing again
- Add second print server
2024-07-24 08:32:31 +02:00
Raphael Dannecker
b47d453922 Add more hosts to inventory 2024-07-24 08:29:07 +02:00
Andreas B. Mundt
fde0634f85 Add two more hosts to inventory 2024-07-23 08:19:00 +02:00
Raphael Dannecker
6c8de6d49c Running virtiofsd with systemd-run prevents process from beeing killed when closing virt-viewer 2024-07-23 08:11:28 +02:00
Andreas B. Mundt
e1e06405ea Additional hosts and primary/dual screen fixes 2024-07-19 10:13:01 +02:00
Raphael Dannecker
be367b0b1f Add R115, R117 and R121 to inventory. 2024-07-14 22:32:29 +02:00
Raphael Dannecker
805309ceb1 Remove A134 teacher-pc-IP from laptop section in inventory. 2024-07-11 09:05:08 +02:00
Raphael Dannecker
c536aac6a5 Add E026 and E029 by name to inventory. 2024-07-10 14:13:52 +02:00
Raphael Dannecker
bee1172b27 Add E026 and E029 to inventory. 2024-07-10 14:00:51 +02:00
Raphael Dannecker
721ed77e16 Add R016 to inventory. 2024-07-10 11:07:16 +02:00
Raphael Dannecker
d71b67dc61 Activate A134 devices in inventory by IP. 2024-07-10 09:08:20 +02:00
Raphael Dannecker
e7916a5f30 Revert "Extends krb5-ticket renewable_lifetime for teacherlaptops, so there is no need to login every day."
This reverts commit 44f87537bb.
2024-07-10 07:59:44 +02:00