Public feed
#529438
BASE=/srv/kiwi-ltsp
# Export LTSP chroot using NFS to the LTSP client network
if ! grep -q "^$BASE" /etc/exports ; then
cat <<EOF >> /etc/exports
# Automatically added by ltsp-server
$BASE *(ro,no_root_squash,async,no_subtree_check)
/var/opt/ltsp/swapfiles 10.0.0.0/255.255.255.0(rw,no_root_squash,async,no_subtree_check)
#end
EOF
insserv nfsserver
rcnfsserver reload
else
cat <<EOF
INFO: entry exists for $BASE in /etc/exports,
You may add the following line manually to /etc/exports:
$BASE *(ro,no_root_squash,async,not_subtree_check)
/var/opt/ltsp/swapfiles 10.0.0.0/255.255.255.0(rw,no_root_squash,async,no_subtree_check)
and then run the command:
insserv nfsserver
rcnfsserver reload
EOF
fi