aboutsummaryrefslogtreecommitdiff
path: root/fai/config/hooks/instsoft.ROAMING_WORKSTATION
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-08 16:30:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-08 16:34:16 +0200
commitdfca92846c0a77442f4024fef11c4ffc819ae051 (patch)
tree5c76a77b82ce71082a5ca2fa4af0ee31230e214b /fai/config/hooks/instsoft.ROAMING_WORKSTATION
parent77349f46aaf7109334be6421cde7a7ccd55090a3 (diff)
downloaddebian-edu-fai+itzks-dfca92846c0a77442f4024fef11c4ffc819ae051.tar.gz
debian-edu-fai+itzks-dfca92846c0a77442f4024fef11c4ffc819ae051.tar.bz2
debian-edu-fai+itzks-dfca92846c0a77442f4024fef11c4ffc819ae051.zip
Add ROAMING_WORKSTATION support.
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