feat(fs/nfs): remove vers=3 default option (#5725)

This commit is contained in:
Pierre Donias
2021-04-19 15:29:17 +02:00
committed by GitHub
parent a8e5ad42ba
commit 3944e6450d
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ export default class NfsHandler extends MountHandler {
super(remote, opts, {
type: 'nfs',
device: `${host}${port !== undefined ? ':' + port : ''}:${path}`,
defaultOptions: 'vers=3',
})
}

View File

@@ -8,6 +8,7 @@
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- [VM] Don't make a VM use [DMC](https://docs.citrix.com/en-us/xencenter/7-1/dmc-about.html) on creation by default [#5729](https://github.com/vatesfr/xen-orchestra/issues/5729)
- [NFS remotes] Don't force version 3 by default (PR [#5725](https://github.com/vatesfr/xen-orchestra/pull/5725))
### Bug fixes
@@ -30,7 +31,7 @@
>
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- @xen-orchestra/fs patch
- @xen-orchestra/fs minor
- @xen-orchestra/xapi patch
- @xen-orchestra/backups patch
- @xen-orchestra/backups-cli patch

View File

@@ -591,7 +591,7 @@ const messages = {
remoteNfsPlaceHolderHost: 'Host',
remoteNfsPlaceHolderPort: 'Port',
remoteNfsPlaceHolderPath: 'path/to/backup',
remoteNfsPlaceHolderOptions: 'Custom mount options. Default: vers=3',
remoteNfsPlaceHolderOptions: 'Custom mount options',
remoteSmbPlaceHolderRemotePath: 'Subfolder [path\\\\to\\\\backup]',
remoteSmbPlaceHolderUsername: 'Username',
remoteSmbPlaceHolderPassword: 'Password',