On Thu, Aug 20, 2020 at 08:46:25PM +0800, Hu Xuejiao wrote:
Signed-off-by: Hu XueJiao huxuejiao1@huawei.com
container/os-cifs/smb.conf | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/container/os-cifs/smb.conf b/container/os-cifs/smb.conf index e026cdb..819b702 100644 --- a/container/os-cifs/smb.conf +++ b/container/os-cifs/smb.conf @@ -19,7 +19,7 @@ unix extensions = yes [os] path = /srv/os/
- comment = initrd
- comment = os browseable = yes read only = yes public = yes
@@ -27,3 +27,27 @@ # that can only be accessed by root. force user = root force group = root +[initrd]
- path = /srv/initrd/
- comment = initrd
- browseable = yes
- read only = yes
- public = yes
- force user = root
- force group = root
root 不合适.
+[osimage]
- path = /srv/osimage/
/srv/osimage => /srv/initrd
- comment = osimage
osimage => initrd
osimage是为了兼容性创造的initrd的一个别名.
- browseable = yes
- read only = yes
- public = yes
- force user = root
- force group = root
+[result]
- path = /srv/result/
- comment = result
- browseable = yes
- read only = yes
- public = yes
- force user = root
- force group = root
-- 2.23.0