aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Berhoerster <guido+freiesoftware@berhoerster.name>2023-09-06 15:16:01 +0200
committerGuido Berhoerster <guido+freiesoftware@berhoerster.name>2023-09-07 08:23:46 +0200
commitc9af1e8d34a4a4828d2065a3ea9e8477140f8abf (patch)
treebf5113b5919b22556f169e94b4c9b1be0d1fa167
parent7b3f31c824f21b69d97d721c1661ca93716d3ae3 (diff)
downloaddebian-edu-fai+itzks-c9af1e8d34a4a4828d2065a3ea9e8477140f8abf.tar.gz
debian-edu-fai+itzks-c9af1e8d34a4a4828d2065a3ea9e8477140f8abf.tar.bz2
debian-edu-fai+itzks-c9af1e8d34a4a4828d2065a3ea9e8477140f8abf.zip
Actually install /etc/security/group.conf on bullseye
From bookworm on this is handled via cfengine.
-rwxr-xr-xfai/config/scripts/ROAMING_WORKSTATION/20-update-security-group-conf4
-rwxr-xr-xfai/config/scripts/WORKSTATION/20-update-security-group-conf4
2 files changed, 8 insertions, 0 deletions
diff --git a/fai/config/scripts/ROAMING_WORKSTATION/20-update-security-group-conf b/fai/config/scripts/ROAMING_WORKSTATION/20-update-security-group-conf
new file mode 100755
index 0000000..40679b5
--- /dev/null
+++ b/fai/config/scripts/ROAMING_WORKSTATION/20-update-security-group-conf
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# on bookworm and later this is handled through cfengine
+ifclass DEBIAN_11 && fcopy -iM /etc/security/group.conf
diff --git a/fai/config/scripts/WORKSTATION/20-update-security-group-conf b/fai/config/scripts/WORKSTATION/20-update-security-group-conf
new file mode 100755
index 0000000..40679b5
--- /dev/null
+++ b/fai/config/scripts/WORKSTATION/20-update-security-group-conf
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# on bookworm and later this is handled through cfengine
+ifclass DEBIAN_11 && fcopy -iM /etc/security/group.conf