X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=myfai-chboot-local;h=b2df864f129e32cbb2a1fdc5202192c115956b5d;hp=d16f3b14961bb6cc9163f1a428496d7b86ade3cc;hb=9ac5bbeccb3e969e29b372656bd51352ff31b0b8;hpb=5f680f6bea2faae10ca8e5ccea0d08d18ccc9aa1 diff --git a/myfai-chboot-local b/myfai-chboot-local index d16f3b1..b2df864 100755 --- a/myfai-chboot-local +++ b/myfai-chboot-local @@ -60,12 +60,18 @@ if modprobe nfsd &>/dev/null; then root_arg="$my_ip:/srv/fai/nfsroot:vers=3" # fai-setup without -e sets the ip to the local_ip/local_network, eg 192.168.1.3/24 # I restrict it to one ip as simple but imperfect access control. - sed -ri --follow-symlinks '\%^/srv/fai/%d' /etc/exports - cat >>/etc/exports <>/etc/exports <