diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-07-08 16:30:39 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-07-08 16:34:16 +0200 |
| commit | dfca92846c0a77442f4024fef11c4ffc819ae051 (patch) | |
| tree | 5c76a77b82ce71082a5ca2fa4af0ee31230e214b /fai/config/hooks/instsoft.ROAMING_WORKSTATION | |
| parent | 77349f46aaf7109334be6421cde7a7ccd55090a3 (diff) | |
| download | debian-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-x | fai/config/hooks/instsoft.ROAMING_WORKSTATION | 6 |
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 |
