fi
ssh root@$(chost faiserver) bash <<'EOF'
+set -eE -o pipefail
if modprobe nfsd &>/dev/null; then
- sed -ri --follow-symlinks '\%^/srv/fai/d' /etc/exports
+ sed -ri --follow-symlinks '\%^/srv/fai/%d' /etc/exports
exportfs -ra
else
rm -f /etc/apache2/sites-enabled/faiserver.conf