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'
19 if modprobe nfsd &>/dev/null; then
20 sed -ri --follow-symlinks '\%^/srv/fai/d' /etc/exports
23 rm -f /etc/apache2/sites-enabled/faiserver.conf
24 systemctl reload apache2