4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
9 Disable the fai nfs server exports
18 ssh root@$
(chost faiserver
) bash
<<'EOF'
20 if modprobe nfsd &>/dev/null; then
21 sed -ri --follow-symlinks '\%^/srv/fai/%d' /etc/exports
24 rm -f /etc/apache2/sites-enabled/faiserver.conf
25 systemctl reload apache2