avoid future errors with overwriting symlnks
[automated-distro-installer] / faiserver-enable
index a71227c3b16bcf2ca713a96bc1e870379685059b..66e0bee8e5a108cfcc4184b9c3871d53d10669a6 100755 (executable)
@@ -15,4 +15,4 @@ if [[ $1 ]]; then
     usage 1
 fi
 
-ssh root@$(chost faiserver) "sed -ri 's,^\s*#\s*(/srv/fai/.*),\1,' /etc/exports; exportfs -ra"
+ssh root@$(chost faiserver) "sed -ri --follow-symlinks 's,^\s*#\s*(/srv/fai/.*),\1,' /etc/exports; exportfs -ra"