fix #2920: cifs: add options parameter

This makes it possible to add all mount options offered by mount.cifs.
NFS & CIFS now share the options parameter since they use it for the
same purpose.

Signed-off-by: Stefan Hrdlicka <s.hrdlicka@proxmox.com>
 [FE: rebase + style fixes]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Tested-by: Friedrich Weber <f.weber@proxmox.com>
 [T: fix merge conflict ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Stefan Hrdlicka
2023-03-01 13:13:25 +01:00
committed by Thomas Lamprecht
parent 765e0da23f
commit 13ee4fc859
3 changed files with 9 additions and 5 deletions

View File

@ -192,6 +192,12 @@ my $defaultData = {
type => "string", format => "pve-dir-override-list",
optional => 1,
},
options => {
description => "NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs')",
type => 'string',
format => 'pve-storage-options',
optional => 1,
},
},
};