Fix SR creation when using options or NFSv4 (#2960)
This commit is contained in:
parent
8ada6b121e
commit
f505d4d911
@ -204,8 +204,8 @@ export async function createNfs ({
|
||||
}
|
||||
|
||||
// if NFS options given
|
||||
if (nfsVersion) {
|
||||
deviceConfig.options = nfsVersion
|
||||
if (nfsOptions) {
|
||||
deviceConfig.options = nfsOptions
|
||||
}
|
||||
|
||||
const srRef = await xapi.call(
|
||||
|
Loading…
Reference in New Issue
Block a user