aboutsummaryrefslogtreecommitdiff
path: root/fai/config/hooks/instsoft.ROAMING_WORKSTATION
diff options
context:
space:
mode:
Diffstat (limited to 'fai/config/hooks/instsoft.ROAMING_WORKSTATION')
-rwxr-xr-xfai/config/hooks/instsoft.ROAMING_WORKSTATION6
1 files changed, 6 insertions, 0 deletions
diff --git a/fai/config/hooks/instsoft.ROAMING_WORKSTATION b/fai/config/hooks/instsoft.ROAMING_WORKSTATION
new file mode 100755
index 0000000..bf0032a
--- /dev/null
+++ b/fai/config/hooks/instsoft.ROAMING_WORKSTATION
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# tag Debian Edu machine as a roaming workstation
+if [ -f $target/etc/debian-edu/config ]; then
+ sed -i $target/etc/debian-edu/config -e "s/^PROFILE=.*$/PROFILE=\"Roaming-Workstation\"/"
+fi