mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
Fixes nfs-server security issue in image
This commit is contained in:
parent
6274d845b9
commit
53952ad97b
@ -20,7 +20,7 @@ function start()
|
||||
# prepare /etc/exports
|
||||
for i in "$@"; do
|
||||
# fsid=0: needed for NFSv4
|
||||
echo "$i *(rw,fsid=0)" >> /etc/exports
|
||||
echo "$i *(rw,fsid=0,no_root_squash)" >> /etc/exports
|
||||
echo "Serving $i"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user