mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #9019 from markturansky/recyc_img
Fixes nfs-server security issue in image
This commit is contained in:
commit
f3b4b1aa31
@ -20,7 +20,7 @@ function start()
|
|||||||
# prepare /etc/exports
|
# prepare /etc/exports
|
||||||
for i in "$@"; do
|
for i in "$@"; do
|
||||||
# fsid=0: needed for NFSv4
|
# 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"
|
echo "Serving $i"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user