fix objectivefs mount options
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
784ce31922
commit
d70b45b909
|
|
@ -120,6 +120,7 @@ jobs:
|
||||||
- build-npm-linux-amd64
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
max-parallel: 1
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- truenas/scale/24.04/scale-iscsi.yaml
|
- truenas/scale/24.04/scale-iscsi.yaml
|
||||||
|
|
@ -153,6 +154,7 @@ jobs:
|
||||||
- build-npm-linux-amd64
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
max-parallel: 1
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- truenas/core/13.0/core-iscsi.yaml
|
- truenas/core/13.0/core-iscsi.yaml
|
||||||
|
|
@ -186,6 +188,7 @@ jobs:
|
||||||
- build-npm-linux-amd64
|
- build-npm-linux-amd64
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
max-parallel: 1
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- zfs-generic/iscsi.yaml
|
- zfs-generic/iscsi.yaml
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,10 @@ class ObjectiveFS {
|
||||||
}
|
}
|
||||||
const objectivefs = this;
|
const objectivefs = this;
|
||||||
let args = [];
|
let args = [];
|
||||||
args = args.concat(options);
|
if (options.length > 0) {
|
||||||
|
// TODO: maybe do -o <opt> -o <opt>?
|
||||||
|
args = args.concat(["-o", options.join(",")]);
|
||||||
|
}
|
||||||
args = args.concat([filesystem, target]);
|
args = args.concat([filesystem, target]);
|
||||||
|
|
||||||
let result;
|
let result;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue