iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes for buster linode
[automated-distro-installer]
/
myfai-chboot-local
diff --git
a/myfai-chboot-local
b/myfai-chboot-local
index d8d484658bc1d8895319f32de764a84a5927bec2..3ecc7d13f83d5b3beb8af69327faca4c875f56ad 100755
(executable)
--- a/
myfai-chboot-local
+++ b/
myfai-chboot-local
@@
-84,7
+84,7
@@
if modprobe nfsd &>/dev/null; then
if [[ -w /etc/exports ]]; then
sed -ri --follow-symlinks '\%^/srv/fai/%d' /etc/exports
cat >>/etc/exports <<EOF
if [[ -w /etc/exports ]]; then
sed -ri --follow-symlinks '\%^/srv/fai/%d' /etc/exports
cat >>/etc/exports <<EOF
-/srv/fai/config $ip(async,ro,no_subtree_check)
+/srv/fai/config $ip(async,ro,no_subtree_check
,no_root_squash
)
/srv/fai/nfsroot $ip(async,ro,no_subtree_check,no_root_squash)
EOF
exportfs -ra
/srv/fai/nfsroot $ip(async,ro,no_subtree_check,no_root_squash)
EOF
exportfs -ra