Skip to content

Commit d346150

Browse files
authored
Merge pull request #25584 from guzj11/patch-21
Update configure-persistent-volume-storage.md
2 parents 37f46ed + 4675237 commit d346150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ In the `/mnt/data` directory, create an `index.html` file:
9696
-->
9797
```
9898
# 这里再次假定你的节点使用 "sudo" 来以超级用户角色执行命令
99-
echo 'Hello from Kubernetes storage' > /mnt/data/index.html
99+
sudo sh -c "echo 'Hello from Kubernetes storage' > /mnt/data/index.html"
100100
```
101101

102102
<!--

0 commit comments

Comments
 (0)